Rest api call to attachment is not returning the content in the attachment

Vijay Pinnapu November 29, 2016

The call i am using is 

https://cnwyjira.atlassian.net/secure/attachment/105028/Unix_migration_check_test.param.

 

When i copy/paste the link in url, i get the attachment with content in it. However, when i make call using that url on linux using CURL, it return nothing. Below is the call and output.

 

[infv9adm@cdcxvd1442 Migration]$ curl -f -u Vijay:xdsdd -X GET -H "Content-Type: application/json" https://cnwyjira.atlassian.net/secure/attachment/105028/Unix_migration_check_test.param

2 answers

0 votes
Vijay Pinnapu November 29, 2016

There is no output returned. Earlier, it used to return the contents in the attachment. It does not returning anything  now. Neither the contents in the file nor an error message.

0 votes
Volodymyr Krupach
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.
November 29, 2016

Please post the returned message.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events