Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > AT+CIPSTART=0,"TCP","data.nba.net",80
- 0,CONNECT
- OK
- > AT+CIPSEND=0,103
- SEND OK
- > GET /data/10s/prod/v1/20190214/scoreboard.json HTTP/1.1
- Host: data.nba.net
- Connection: keep-alive
- +IPD,0,1460:HTTP/1.1 200 OK..
- .............................
- ...here comes the response...
- .............................
- HTTPClient http;
- http.begin(request);
- if (http.GET() > 0) {
- response = http.getString();
- }
- http.end();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement