Reputation: 9348
I have a use case where there are around 500 strings as input for fetching the details of these 500 inputs.
Based on which I will be returning a result of 500 complex elements as output.
Now the HTTP GET limitation comes in between of using GET here. Is resorting to POST a solution?
Upvotes: 0
Views: 79
Reputation: 156
Just use a POST method and put the strings in the request body (entity). Don't use the query parameters (they are limited in size). HTTP doesn't have a limitation on request/response body size. Use the POST method, because GET doesn't support a request body.
Upvotes: 1
Reputation: 24949
The web service provider perspective says 'we accept http POST" and consumer perspective says OK
Upvotes: 1