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>
Community moderators have prevented the ability to post new answers.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.