Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I am not able to get the headers hooked up and working #110

Open
scchaitha opened this issue Sep 30, 2020 · 0 comments
Open

I am not able to get the headers hooked up and working #110

scchaitha opened this issue Sep 30, 2020 · 0 comments

Comments

@scchaitha
Copy link

@RequestMapping(method = RequestMethod.POST, value="/xxxxx/validate", headers = "Accept=application/json")
@ApiImplicitParams({
		@ApiImplicitParam(name = "X-YYY-TOKEN", value = "YYYToken", required = true, allowEmptyValue = false, paramType = "header"),
		@ApiImplicitParam(name = "Content-Type", value = "application/json", required = true, allowEmptyValue = false, paramType = "header", example = "application/json")

}
)

Can you pls advice? This is critical to our poc work. I am getting 403 forbidden access. Where as if I try the post man client with the same headers it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant