Hi all,
I encoded my <UserID>:<password> using command line:
echo -n <userID>:<password> | openssl base64
then I made an API call to retrieve my user profile:
"curl -D- -X GET -H "Authorization: Basic base64String" -H "Content-Type: application/json" "http://automationexpert.atlassian.net/rest/api/latest/myself"
And I got these status:
HTTP/1.1 301 Moved Permanently
Content-Type: text/html
Date: Sat, 24 Feb 2018 22:56:05 GMT
Location: <https: URL String>
Connection: Keep-Alive
Content-Length: 0
Question:
Where did the returned JSON go? :-).
What did I do wrong?
Thanks
J.N