how to test APIs within Developer Portal?

Hi guys,

I'm having trouble testing my APIs with the integrated Developer Portal. I've created the Portal without issues and can see my associated APIs, but am not able to test (execute) them.

What I'm doing exactly:

1. I sign in into the Portal.

2. I select an API and click the Authorize button.

3. I enter my credentials (I've tried both the portal username/password as well as the app id/secret)

4. When I click Authorize, I see the screen below:

9394-anotacao-2019-11-06-105947.png

5. I click OK, choose a path and then click execute. I get a 200 response, but the body is a HTML page with some javascript, not the json I'm expecting. If I trace the API, I don't see any requests.

9395-anotacao-2019-11-06-110021.png

It should be noted that I can call the API without issues through a client such as Postman, and also that my APIs use OAuth for authentication - but from what I can see the request never reaches the API.

So, what am I doing wrong here? Should I have more info on my spec?

Thanks!

0 0 156
0 REPLIES 0