I try to use curl to get list of projects on my JIRA:
curl -u myusername:mypassword http://myjira.com/rest/api/2/project
and it return an empty array without error
I use Postman (a Google Chrome app) to call that request using Basic authentication, it also return an empty array
If I login into my JIRA site and use Postman to call the API again, it return a full list of
project because it used Cookie that was generated after my login.
So I think the Basic Authentication does not work. Can anyone please help?