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!

API Version in custom header field

John HowardDec 1 2021

Hi all,
One of my devs has asked if there is a way we can, in the response header of API calls to ORDS, include a field signifying the version of the API. Basically I want to add a custom header field to the response with a static value in it - e.g. API-Version: 1.0.0 I'm thinking there is a way using ORDS.DEFINE_PARAMETER but that seems to want to populate the value of such a field with the contents of a bind variable. I just want to populate with a static value at compile time but I can't see an easy way to do this.
Apologies if this is a dumb question or if there is an easier way to do this. Any help is much appreciated.
Thanks, John

This post has been answered by User_H3J7U on Dec 1 2021
Jump to Answer
Comments
Post Details
Added on Dec 1 2021
5 comments
411 views