Here is the example
There are 100 products records and client request for first set of 10 records and after next set 11-20 and so on. Right now I cannot imagine if that will work.
It WILL work if you use the LIMIT keyword in the FIND action, for example
FIND Object WHERE ... LIMIT ParamObj.StartRange, ParamObj.RangeSpan
when I try to send data on the same API using POST method putting parameters under body it fails. "HTTP Status 500 – Internal Server Error"
You shouldn't put parameters in the body. The body should have JSON or XML objects. If you use parameters only they should be in the URL (both for GET and POST). POST does work.
Sending data under Authorization header is a basic security advisory. Because Url parameters are exposed to public which is not recommended.
HTTP headers can also be exposed to the public, so there is no security advantage here. You can use JSON/XML objects to transfer credentials (along with other data) in the body of the request, if you do not want to use parameters.
Now, when FIND Addresses does not return any record API response is empty.
So why is this a problem? The client can react to empty data appropriately.