M
M
MakarkinPRO2015-03-09 12:55:00
API
MakarkinPRO, 2015-03-09 12:55:00

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

1 answer(s)
Алексей Гусейнов, 2015-03-10
@kibergus

Примерно так:
Если остались вопросы, то набрав man curl можно все их разрешить.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question