Answer the question
In order to leave comments, you need to log in
How to send an API request correctly?
Here is an example for requests:
URL: localhost:1111/api/v2/service
Accept:application/json
Host:localhost:1111
X-AN-APP-NAME: new
X-AN-APP-KEY: XXXXXXXXXXXX
{
"1" : "ok1",
"2": "ok2",
"3": "Hello",
"4": "ok3",
"
5"
:
1 I have ideas. Everyone on the internet is different.
+++
It is necessary to build the functionality into the script, where there will be input fields, and when sending, the data for the request will be taken from there
Answer the question
In order to leave comments, you need to log in
Примерно так:
Если остались вопросы, то набрав man curl можно все их разрешить.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question