I want to validate XSRF check with my post request. Example shown below:
@POST
@com.atlassian.plugins.rest.common.security.RequiresXsrfCheck
@Path("/upload")
@Consumes(MediaType.MULTIPART_FORM_DATA)
public Response uploadAttachmentFile(@Context HttpServletRequest request) {
I am passing the cookie token value for atlassian.xsrf.token in a header as
<atlassian.rest.common.version>7.0.0-m02</atlassian.rest.common.version>