I am using this documentation: https://docs.atlassian.com/software/jira/docs/api/REST/8.14.1/#auth/1/session-login
I am using basic auth (I also tried token based auth since I read that basic auth might be depreciated but it didn't specifically say for the server api)
Authorization: Basic encodedBase64String of username:password
I do not get a normal error message rather a bunch of HTML. This is the beginning:
function printDeprecatedMsg() { if (console && console.warn) { console.warn('DEPRECATED JS - contextPath global variable has been deprecated since 7.4.0. Use `wrm/context-path` module instead.'); } }
I am using for the url: https://jira.myCompanyName.com/rest/api/2/permissions
and doing a GET request in this example
Can someone help me get the server REST API working properly?