Forums

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

HTTP/1.1 405 Method Not Allowed

AVR praveen
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!
April 7, 2015

Hi,

 Im trying

HttpPost request =

new  HttpPost("http://10.245.18.148:8080/rest/api/2/issue/"+issueNumber+"");

 

{\"fields\": {\"Record URL\" :[\"/http://ddcdev01.hic.hicnet:81/pint2V7/nbcsr/nbcsrEnterAdverseOutcomes.do?forwardFrom=JIRA&action=advrsFromJIRA&docRefID=]}}" );

getting  a following error

 

HTTP/1.1 405 Method Not Allowed [Server: Apache-Coyote/1.1, X-AREQUESTID: 736x16258x1, X-ASEN: SEN-L5439581, Set-Cookie: JSESSIONID=DEAE16935FF6D6E0F0916634755EFF8E; Path=/; HttpOnly, X-Seraph-LoginReason: OK, Set-Cookie: atlassian.xsrf.token=B153-03FQ-FIU5-C4OD|53999ab7b239a3b9d7af64453ca436a9f06059af|lin; Path=/, X-ASESSIONID: 75tibb, X-AUSERNAME: system, Allow: HEAD,DELETE,GET,OPTIONS,PUT, X-Content-Type-Options: nosniff, Content-Type: text/html;charset=utf-8, Content-Language: en, Content-Length: 1013, Date: Wed, 08 Apr 2015 02:16:14 GMT] org.apache.http.conn.BasicManagedEntity@6f2e6f2e

 

1 answer

0 votes
Paulo Hennig
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 16, 2015

Make sure you use PUT as your request method.

This other answer should help

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events