1
0
mirror of https://github.com/arduino-libraries/ArduinoHttpClient.git synced 2025-04-19 21:22:15 +03:00

32 Commits

Author SHA1 Message Date
per1234
e9897fc568 Correct typos in comments and documentation 2021-04-11 22:01:54 -07:00
Sandeep Mistry
3df4990ed3 Spacing 2019-01-22 12:12:23 -05:00
Sandeep Mistry
74d6f3614e Remove .DS_Store files 2019-01-22 12:12:23 -05:00
tigoe
5e1f1f21bf Updated examples and readme.md 2019-01-22 12:12:23 -05:00
tigoe
b6424e430d gitignore 2019-01-22 12:12:23 -05:00
tigoe
a5796508f5 gitignore 2019-01-21 18:02:47 -05:00
marcus johansson
889d7b35d9 St update 2017-09-14 16:27:32 +02: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
0dd9f42095 Add new /chunked endpoint to Node.js test server 2017-04-13 09:33:29 -04:00
Sandeep Mistry
448a1520c8 Add new beginBody API 2017-03-28 14:12:20 -04:00
Sandeep Mistry
2394bbb7cd Add initial PostWithHeaders example 2017-03-28 14:09:09 -04:00
Arturo Guadalupi
767ecf2fe9 Added Custom Header Example (#20)
Added the example posted in #12 to close the PR. Tested and it works
2017-01-12 10:10:02 -05:00
agdl
4e21c8497e Make Node.js and npm version requirements less strict 2017-01-12 15:41:54 +01:00
Sandeep Mistry
bdb8c02702 Add new basic auth example 2017-01-03 16:33:14 -05:00
Sandeep Mistry
1c56734360 Add new SimpleWebSocket example 2016-06-28 16:56:20 -04:00
Sandeep Mistry
9328370395 Add WebSocket server to getPostPutDelete.js using ws 2016-06-28 16:56:20 -04:00
Sandeep Mistry
829cb2d1f7 Make whitespace consistent in getPostPutDelete.js 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
bdc5281733 Add new del API for HTTP DELETE method 2016-06-22 12:16:12 -04:00
Sandeep Mistry
c3023b25ee Add optional content type, content length and body parameters to post, put, and startRequest
Also, flush client RX data in start request, if state is ready body.
2016-06-22 12:10:47 -04:00
Sandeep Mistry
fc3e6c6fe7 Initial port of examples from RestClient 2016-06-21 14:10:43 -04:00
Sandeep Mistry
94a8723420 Make WiFiClient and HttpClient global var in example 2016-06-17 17:29:47 -04:00
Sandeep Mistry
7ee216f4aa Use http.endOfBodyReached() in example instead of tracking body len 2016-06-17 14:58:17 -04:00
Sandeep Mistry
255118660b Make skipResponseHeaders() optional, if contentLength() is called first 2016-06-17 14:55:03 -04:00
Sandeep Mistry
4b6f4dfa29 Add check for bodyLen in read loop 2016-06-17 14:37:51 -04:00
Sandeep Mistry
0030d41287 Make server name/address and port constructor arguments 2016-06-17 10:56:27 -04:00
Sandeep Mistry
b72b7056a9 Update example to use WiFi101 2016-06-17 09:41:12 -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
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
6e8d284c7b Updated to use the new generic Client API (rather than the Ethernet-specific one) and added ability to connect via an HTTP proxy 2011-09-05 16:03:00 +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