why Status Code: 403 Forbidden while trying to create workitem using REST API (OSLC)
![]()
Hi,
I am trying create a workitem in a specific project are in JAZZ server using OSLC API using "REST Client" Plug in of Firefox. When POST the URL for creating the workmitem I got an erro like this HTTP Status 403 - The user has the roles required to perform this operation, but the permission has been denied because this request might have been forged by a malicious website. To prove that this request is not part of a CSRF attack add a new HTTP header with the name 'X-Jazz-CSRF-Prevent' and use the current JSESSIONID value as the value. I have added the header name :X-Jazz-CSRF-Prevent and value as the JSESSIONID , (which i got from before authenication with server using the REST Client URL https://localhost:9443/ccm/whoami.) But after giving the header name and value , I am still getting the status code as 403 Forbidden, Why is it so. My system set up is like this: I have installed the JAZZ team server in an Windows Server 2008 standard SP1 system. In the same system I have installed the Eclipse based RTC Client . I am requesting the Server from the REST Client Plugin of Firefox, which is also in the same system. Is this has any significance in the problem Please Help Regards Aju |
One answer
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.