Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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

Content-Type Error while calling rest api on "Submit one draft purchase order" in OIC

edited Jul 18, 2024 1:39PM in Integration 4 comments

Summary:

While calling a REST API on OIC(Oracle integration Cloud), where i need to send 'Content-Type' as 'application/vnd.oracle.adf.action+json', it is giving me error as

" URL request parameter Content-Type cannot be used in this context..A 400 Bad Request Error indicates that the target service is unable (or refuses) to process the request sent by the client (Oracle Integration Cloud), due to an issue that is perceived by the server to be a client problem. "

However if i am using the same in postman, it is giving me success message.

Content (please ensure you mask any confidential information):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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