WordPress form integrated to API via POST an receiving JSON response to show result message
Project detail
I need a form on a wordpress site that send the form field to an external API and based on the response, to show a custom page with a message, retrieving some data to create this message.
The API is created and I just need to send the form fields (9 fields including 1 for attached document) via POST, and all response messages will return in JSON format.
I’m attaching the API documentation. It is in spanish, but I think it will be easy to understand. The most important part is at the last page: based on the “status” response 201, we need might need to show a verification page informing that the ticket has been created and the reference number is “referencia”.
Special requirements:
1. I need to be able to modify the form, it would be great if the form can be created and edited on a form builder like contact form 7.
2. I need to be able to insert this form in more than 1 page. If the form is build in Contact Form 7 or some similar plugin, it would be with the shortcode. But if it’s developed different, I need to be able to insert it somehow in different pages.