What is an API request message?

What is an API request message?API request message — this is the bot’s request to the API when the button linked to the message is clicked, and in response the user will receive certain data.

What types of requests are there? | Example of configuration

What types of requests are there? | Example of configurationThere are several HTTP requests to the server:

1) GET - used to request data from the server
2) POST - used to send data to the server
3) PUT - used to completely replace data
4) PATСH - used to partially replace data
5) DELETE - used to delete data

Configuration example:

URL: https://webhook.site/#!/view/653f0adf-7842-4acc-85a4-8718dfba66c1/51a5828a-06cc-4b3e-bfa8-5a0ad8c91fd8/1
Response format: Application/json
Request type: GET

In this case, we request data from the server (GET method); depending on the response, we will receive one message or another (we will cover this in the next section)

Setting up response messages for a request

Setting up response messages for a requestTo attach a message, click the highlighted button and select the required message.

Important! Free messages are created in advance

Create a bot:
free of charge and without programming knowledge BOT-T.COM