Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 3630

HTTP server behavior and REST API specification for unsupported operations

$
0
0

I have a specification of some REST API, and I am also developing some implementation of the corresponding API.

The question arises, what HTTP status code should my implementation return for operations from the specification that are not implemented yet (I can't decide between 405 and 501)? And should I display the corresponding responses in the OpenAPI specification?


Viewing all articles
Browse latest Browse all 3630

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>