A
A
Aidos Meldekhanov2017-01-17 09:11:24
Arduino
Aidos Meldekhanov, 2017-01-17 09:11:24

How to send data via post (you can also get) request to Api service and get the result of this request in Arduino?

I have a ready-made Api service that accepts 1 value (for example, the card id number). Some operations are performed in the API and as a result of successful operation it returns status code 200 (Ok (true) or Ok (false)) otherwise it just returns status code 403.
How do I send a request through Arduino and how to get the result of this request?
for example, access to the Api service at the address: site.loc/api/service/id
id - accepted value

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Kuts, 2017-01-17
@aidos0594

Here is an example tutorial
https://www.arduino.cc/en/Tutorial/WebClient

R
Rou1997, 2017-01-17
@Rou1997

Ethernet shield and library for HTTP or TCP, or connect to PC, for PC, write a program to communicate via COM port

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question