How to Trigger External API after Form Submission

By: CP Singh | Asked: 03/01/2023
ForumsCategory: General questionsHow to Trigger External API after Form Submission
CP Singh asked 1 year ago
Hi
We are trying to Build a Form with user phone as one of the field, which on submission has to send SMS to user phone.

We are not able to trigger the External API, as it it keep saying the authentication failure.
External API works fine when we use Postman. Please advice how can we get external API  to get triggered  curl -L 'https://whatsapp.smart24x7.com/api/Whatsapp/SendTextMessage' -H 'clientId: AAAA' -H 'clientSecret: BBBB' -H 'Host: whatsapp.smart24x7.com' -H 'Content-Type: application/json' -d '{ "recipientPhoneNumber": "919811XXXXXX", "message": "your message here" }'
Attachments

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right