1
0
mirror of https://github.com/arduino-libraries/ArduinoHttpClient.git synced 2025-04-25 17:42:31 +03:00

18 Commits

Author SHA1 Message Date
per1234
e9897fc568 Correct typos in comments and documentation 2021-04-11 22:01:54 -07:00
Sandeep Mistry
d73940758a Add URL Encoder class 2019-04-09 12:44:15 -04:00
Arturo Guadalupi
765f2db637 Merge pull request #21 from sandeepmistry/chunked-response-body-support
Add support for chunked response bodies
2017-04-13 17:09:57 +02:00
Sandeep Mistry
fdedff59b8 Rename isChunked to isResponseChunked 2017-04-13 09:33:01 -04:00
Sandeep Mistry
448a1520c8 Add new beginBody API 2017-03-28 14:12:20 -04:00
Sandeep Mistry
522cf5d11a Add support for chunked response bodies 2017-03-23 14:42:34 -04:00
Sandeep Mistry
d261fa35f5 Add support for PATCH operations 2017-01-03 16:20:03 -05:00
Sandeep Mistry
00cd68f52f Add ping, pong, and connection close support 2016-06-29 13:04:27 -04:00
Sandeep Mistry
6a924a90aa Update keywords.txt 2016-06-28 16:56:20 -04:00
Sandeep Mistry
f56eecbc6f Add new responseBody API to simplify reading response body as a String 2016-06-22 12:47:56 -04:00
Sandeep Mistry
8012c8dace Add noDefaultRequestHeaders API to turn off sending default headers 2016-06-17 16:49:52 -04:00
Sandeep Mistry
f12a797fb3 Add connectionKeepAlive to keywords.txt and add comment for it 2016-06-17 15:20:16 -04:00
Sandeep Mistry
c5484daee9 Update keywords.txt for new API's 2016-06-17 15:08:11 -04:00
Adrian McEwen
9fddcdc121 Undo moving files because that wasn't actually causing problems with adding the library via the Arduino IDE - it was a hard-to-notice error about the naming, which sadly means the "Download Zip" button won't ever work directly (at least until Arduino/Processing IDE accepts "-" in library names) 2013-11-23 12:24:11 +00:00
Adrian McEwen
881fd8f12f Moved files into an HttpClient subdirectory for easier installation via the Arduino IDE 2013-11-23 11:35:05 +00:00
amcewen
1cc31765ff Update keywords for the renamed eof -> completed 2012-08-17 13:01:59 +01:00
amcewen
44d790b8a6 Updated to new API as discussed on the Arduino Developers mailing list. Part of the process of moving the library to live as one of the core Arduino libraries.
The get/put/post calls have been streamlined to require fewer parameters in the basic case - i.e. you can just call http.get("www.mysite.com", "/somepath") to make a simple request.

The accept header has been removed from the list of possible parameters to get/put/post - if you need to use it then send it manually with sendHeader(...) instead.

You don't need to call finishRequest() after the initial call to get/put/post if you aren't going to send any headers.  However, if you /do/ want to send extra headers then you need to call beginRequest() before the get/put/post and endRequest() at the end of all the sent data (so after the data as well as the headers).  E.g.

	http.beginRequest();
	http.post("www.somesite.com", "/somepath");
	http.sendHeader("Content-Length", strlen(postdata));
	http.print(postdata);
	http.endRequest();
2012-03-30 15:11:13 +01:00
amcewen
6e632624bf Initial version on github. Updates old version which lived on googlecode to use new DHCP and DNS API in the Arduino Ethernet library 2011-05-14 14:42:26 +01:00