Print

PRO: Send Userinput to API

Your Situation:

You offer a Inputform on a page. The User inserts some data. This data should be sent to an API. The API answers with an confirmation message.

The JCI-Plugin can do this:

  1. Create a JCI-Template with the HTML-Form in the twig-template for the User-Input.
    If there is a User-Input, the twig-template executes another JCI-Shortcode for connecting to the API.
  2. Therefore create a 2nd JCI-Template: This one gets the User-Input, sends it to the API and receives the API-answer.

See this here in action

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Previous Proxy and modify JSON
On this page: