In my Spring boot project, I have made some some RESTful APIs. Now, for each request in my APIs, I want to set a specific header like below below-
If the Http request is called with that specific header name and header value, only then it will show response code ok(200) otherwise it will show some other response code.
I need one single configuration to fix that specific header for each request in my project. So, I need some suggestion about the procedure to follow to solve this issue.