Skip to Main Content

ORDS, SODA & JSON in the Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Creating POST handler with Content-Type:application/json

Tu NguyenAug 31 2020 — edited Aug 31 2020

Hi everyone,

I'm trying to build an REST service from ORDS for receving data from other applications. They send POST request with "Content-Type:application/json" Headers, and this is fixed.

Problem is when calling my service, ORDS returns "400 bad request". I tried to test this with Postman without  "Content-Type:application/json" and the service is just fine.

So how do we config ORDS to receive such header?

This post has been answered by EJ-Egyed on Aug 31 2020
Jump to Answer

Comments

Post Details

Added on Aug 31 2020
2 comments
1,248 views