Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
How to access an API without credentials? — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to access an API without credentials?

Received Response
15
Views
2
Comments
edited Jul 31, 2018 8:51AM in Digital Assistant and Mobile 2 comments

Content

On OMCe I have made a backend, added an API, and set the endpoints. I have set the "Login Required" switch to "off" (see image api_1.png). I assume that with this it should not ask for Authorization headers, but it returns a 401 unauthorized response (see image api_2.png).

When I add Authorization header and Oracle-Mobile-Backend-ID to the GET request, it works fine (see image api_3.png).

Is it possible to make a simple GET request to the API without having to provide the credentials? OR, can I add the access token and backend ID as a query param?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!