i am using basic authorization. when i am making request from home computer everything works fine but on the developer environment it returns that html. after making some changes in the code it now returns 404 not found,but on the home computer exact same code work fine.Could it be that because of some security systems in my company (which ones i don't know exactly firewall and maybe proxy) Basic authorization doesn't work?
Is your JIRA behind some proxy server? Proxy servers can eat the basic auth credentials.
If that's the case, then you need to initialise session using POST request to /rest/auth/1/session: https://docs.atlassian.com/jira/REST/latest/#idp1478624 After doing that you can use REST as logged in user if you pass session cookies properly.
Regards
Prakhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.