Cytron ESP 8266 Shield HTTP GET

Bluetooth, XBee, RF......

Cytron ESP 8266 Shield HTTP GET

Postby jaden » Thu Nov 29, 2018 3:42 am

ESP8266Client client;
client.connect("192.168.100.100", 5000, "/abc.php");
client.read();
client.stop();

my product does not have
#include <ESP8266WiFi.h>
#include <ESP8266HTTPClient.h>

the ESP8266Client does not have 3rd parameter
can anyone provide me example on how to GET"192.168.100:5000/abc.php"

please notice that i have already try out your examples.

Update--
my product does not have
#include <HTTPClient.h>

what i want is

HTTPClient http;
http.begin("192.168.100.100", 5000, "/abc.php");
http.GET();
http.end();
jaden
Greenhorn
 
Posts: 2
Joined: Wed Nov 28, 2018 10:31 pm

Re: Cytron ESP 8266 Shield HTTP GET

Postby Idris » Thu Nov 29, 2018 4:06 pm

Hi jaden,

I'm not really familiar with HTTP. Anyway could you try this?

client.begin("192.168.100.100/abc.php", 5000);
Cytron Technologies invest time and resources providing tutorial, training and support for STEM education and maker movement. We need your support by purchasing products from Cytron Technologies. Thanks.
http://www.cytron.com.my
User avatar
Idris
Moderator
 
Posts: 364
Joined: Thu Mar 22, 2012 5:28 pm
Location: Pulau Pinang

Re: Cytron ESP 8266 Shield HTTP GET

Postby jaden » Thu Nov 29, 2018 6:11 pm

it can't

the example cytron provide is...

if i going to 192.168.100.100:5000 it work

but i don't have example of 192.168.100.100:5000/abc.php
jaden
Greenhorn
 
Posts: 2
Joined: Wed Nov 28, 2018 10:31 pm


Return to Wireless Device

Who is online

Users browsing this forum: No registered users and 2 guests

cron