Changing content to be sent with webhook
-
Hello. I have been searching and searching for an answer to this question. In webhooks, when I add an api url it is calling for creating a new client in another system on another server. The connection is fine, but I keep getting the response that at least a name needs to be present. The log shows the content that was sent when the hook fired and it has a name in it. When I put the api directly into the web browser and put a name on the end of it, it does what it is supposed to do and creates a new client in the other system. Here is an example of the url:
https://SERVER/api/?apikey=yourAPItoken&service=add_client&name=NEW CLIENT&
where “new client” should be the name from the woocommerce order.Is there a way to get this information to be sent? I’m thinking that it has to be stuck onto the end of the URL but how do I make it do that each time a new customer is created and this webhook fires?
I hope this makes sense.
Thank you for your time
Chris
- The topic ‘Changing content to be sent with webhook’ is closed to new replies.