Open naman1303 opened 4 years ago
Issue Identified, Solution Needed
I looked at the server logs (of API which is being called):
Instead of array of two objects
{\"$or\":[{\"requestorid\":\"alice\" } , {_ \"service_provider\":\"alice\"}]}
It is coming as array of single object, so no output.
{\"or\":[{\"requestorid\":\"alice\" **,_** \"service_provider\":\"alice\"}]}
** Input is being passed properly to the API call as I have mention in the above thread .
Hi Team,
I have started using 'needle' recently instead of 'request' module. One of the API call (to select data from database) includes complex input:
For e.g.
If I pass it a simple object, like shown below, it works.
How to handle it?