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

What HTTP request type to use when no resource is being retrieved or modified?

$
0
0

I am implementing an API endpoint that receives text through the request body, parses it, converts into structured data, and returns it as JSON in the response.

Since no existing resource is being retrieved, and no resource on the server is being created or modified, I am wondering what is the proper HTTP request type to use? It works with both POST and GET, but which one is technically proper?


Viewing all articles
Browse latest Browse all 3637

Trending Articles



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