Problem
I am following the instructions to get an apikey JSON response from Maximo. I get the login html instead of the apikey JSON.
Steps to reproduce
I am following the steps from this website (https://www.ibm.com/support/pages/creating-and-using-rest-api-keys-secure-application-server-environment) and performing the steps on Postman. I checked Maximo Swagger UI and found the url for creating apikeys is "https://maximo.company.com/maximo/oslc/os/mxapiapikey". I stored username and password in Authorization tab. I using "content-type=application/json" in my header. I using "{ "expiration":-1 }" in my JSON body. I am using "https://maximo.company.com/maximo/oslc/os/mxapiapikey/create" as my url. When I send the POST request, it returns the html of Maximo login screen.
Suggestions
Request to know missing step or possible work around.
What should I do to get the apikey to appear in JSON response instead of the html login?
------------------------------
Michael Minkoff
------------------------------