Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

GET and DELETE from components field via rest returns 405 method not allowed

Gabriel
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 20, 2019

I can successfully add options to 'Components' field via Postman but I can't seem to GET or DELETE them. Body is empty for GET and id of component option in JSON format for DELETE. I suspect it has something to do with the 'Allow -> POST, OPTIONS' header that it returned?

a.PNG

1 answer

1 accepted

0 votes
Answer accepted
Mesut Yilmazyildirim
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 20, 2019

You can use rest/api/2/component/ for POST

and rest/api/2/component/{id} for GET and DELETE.

Gabriel
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 20, 2019

thanks! worked well. although I need a way to get all component IDs in one go.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events