Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

ClearQuest OSLC CM REST API 403 Forbidden Error when searched using oslcterms

Hello Team,
Below is my Request:
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cq="http://www.ibm.com/xmlns/prod/rational/clearquest/1.0/" xmlns:oslc_cm="http://open-services.net/ns/cm#" xmlns:oslc="http://open-services.net/ns/core#" xmlns:dcterms="http://purl.org/dc/terms/"
><oslc_cm:ChangeRequest rdf:about="https://host/cqweb/oslc/repo/Dbset/db/sampl/record/?oslc_cm.query=Discipline=SW&amp;rcm.type=Defect"
></oslc_cm:ChangeRequest
></rdf:RDF
>
Response i got:
403 Forbidden Error.

But when i paste in browser  https://host/cqweb/oslc/repo/Dbset/db/sampl/record/?oslc_cm.query=Discipline="SW"&rcm.type=Defect

I got proper response. Could you please help out in this.

Thanks in Advance

0 votes

Comments

Have you logged on before sending the request?

yes ,i have logged in .

When i fire same request without oslc_cm.query and things work proper.


Be the first one to answer this question!

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 11,089

Question asked: Jan 13 '15, 1:02 a.m.

Question was seen: 4,561 times

Last updated: Jan 14 '15, 1:34 a.m.

Confirmation Cancel Confirm