Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ODATA: Set HTTP_STATUS_CODE in GET Response

anne_beeltje
Discoverer
0 Likes
2,010

Hi,

Is there a method to set the HTTP status to e.g. "204" ,no data, in a GET Response instead of the HTTP 200 code?

RAISE EXEPTION sets only in the 4* or 5* range.

Query returns no data, but is not a bad request.

Thanks in advance!

1 REPLY 1
Read only

amy_king
Active Contributor
0 Likes
1,712

Hi, Did you find a solution? I'm looking to solve the same issue.

Cheers,
Amy