When trying to send a REST request I get an error 403 Forbidden / Access Denied
Question :
Why am I'm receiving an error 403 when trying to send a REST request to any of the Oracle REST APIs?
**This post was created as part of a How to Service Request (SR)
Release: 22D
Summary of the question:
Below is a sample request that I'm using:
curl -u 'Basic **********' \ -H 'Accept: application/json' \ -H 'X-Forwarded-For: 5.16.X.X' 'https://generic_instance.etadirect.com/rest/ofscCore/v1/activities/123456'
The response I receive it:
<HTML><HEAD> <TITLE>Access Denied</TITLE> </HEAD><BODY> <H1>Access Denied</H1> You don't have permission to access "http://generic_instance.etadirect.com/rest/ofscCore/v1/activities/123456" on this server. Reference #12.345c6be7ac.891011124990.32d714a6 </BODY> </HTML>
Tagged:
0