Not sure what I’m doing wrong but I keep getting a return error when posting to this api. I’ve attached a screenshot of the docs. I’m currently using webhooks and posting the data to the api url. What should the raw data look like?
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/e3e84917-358d-49e0-8216-a78673ad9eb8.png)
Not sure what I’m doing wrong but I keep getting a return error when posting to this api. I’ve attached a screenshot of the docs. I’m currently using webhooks and posting the data to the api url. What should the raw data look like?
Hi
What app API are you using?
Can you provide screenshots of how your Zap webhooks steps is configured?
I’m actually using code by zapier. Not really sure what app API means (not incredibly tech savy) but the api interface is in graphql.
Here is the code:
query = {"query":"mutation ( $input: AcceptDeliveryInput!) { acceptDelivery(input: $input) { clientMutationId, delivery }}",
"variables":{
"input":{
"deliveryId":"123",
"padding":"15",
"clientMutationId":"test",
}
}
}
requests.post("insert url",
headers={"Content-Type": "application/json",
"Authorization": "insert token"
},
data=query
)
thanks for the help
Every API request needs to include a URL to know where to send data and for what endpoint of the API.
Hi
Since it’s still unknown what API you are using, try doing a GSearch for that app API and “no query string was present” to see if there are any help articles or documentation that may help you resolve the issue.
Thank you
ezCater API docs: https://catering.ezcater.com/help/querying-the-public-api
Questions? Contact api_support@ezcater.com
Might be best to reach out to the ezCater email address for additional support for their API.
Questions? Contact api_support@ezcater.com
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.