Skip to content

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

@scchaitha

Description

@scchaitha
@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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions