• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

How send and http request from Arduino (ESP8266)

Q&A Forum › Category: ESP8266 › How send and http request from Arduino (ESP8266)
0 Vote Up Vote Down
Peter Rhodin asked 9 years ago

Hi,
I just wondering how I easily can send a http command from my ESP8266. In my case I want to send a push using prowl
 
The http url is:
http://api.prowlapp.com/publicapi/add?apikey=<APIKEY>&application=<XXX>&description=Message&priority=0

Question Tags: http url esp8266
4 Answers
0 Vote Up Vote Down
Peter Rhodin answered 9 years ago

Forgot to say – In Arudino IDE (not LUA)

0 Vote Up Vote Down
Rui Santos Staff answered 9 years ago

Hi Peter, 
I hope you are doing well. I’m sorry for taking so long to answer, but I was on holidays and it was very hard to have a stable internet connection to answer emails/questions.
Go to File > Examples > ESP8266WiFi > WiFiClient

Then, in that sketch you have to add your SSID and PASSWORD.
The host that you’re going to connect to: 
 
const char* host = “api.prowlapp.com”;
 
Finally, you need to go to the comment that says ” // We now create a URL for the request” and with the URL variable you need to start adding the parameters and URL that are specific for your request.
I hope this helps and thank you for your patience. Please let me know if you need further help. 
Rui

0 Vote Up Vote Down
Peter Rhodin answered 9 years ago

Thanks a lot! – It’s working perfectly!

0 Vote Up Vote Down
Rui Santos Staff answered 9 years ago

I’m glad I could help!

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.