Fork of the working HTTPClient adaptation using CyaSSL. This version adds a derivation of HTTPText called HTTPJson to emit JSON text properly. Additionally, the URL parser has defines that permit longer URLs to be utilized.

Dependencies:   mbedTLSLibrary

Dependents:   SalesforceInterface df-2014-heroku-thermostat-k64f SalesforceInterface

Fork of HTTPClient by wolf SSL

This is a fork of the working HTTPS/SSL library that contains two extensions:

- HTTPJson - a derivation of HTTPText for emitting JSON strings specifically. No JSON parsing/checking is accomplished - HTTPJson simply sets the right Content-Type for HTTP(S).

- Expanded internal buffers for longer URLs. This is set in HTTPClient.cpp and is tunable.

Revision:
41:f1f9b72a164b
Parent:
40:c0a52a6bb50f
Child:
42:c3fb263a56dd
--- a/HTTPClient.cpp	Fri Sep 19 16:59:39 2014 +0000
+++ b/HTTPClient.cpp	Fri Sep 19 17:05:50 2014 +0000
@@ -66,7 +66,7 @@
     // can use larger buffers since we have more memory
     #define CHUNK_SIZE    768
     #define SEND_BUF_SIZE 1280
-#elif || defined (TARGET_C027)
+#elif defined (TARGET_C027)
     // can use larger buffers since we have more memory
     #define CHUNK_SIZE    512
     #define SEND_BUF_SIZE 1024