this is using the mbed os version 5-13-1

Dependencies:   mbed-http

Revision:
84:7c7add00f4bf
Parent:
81:637a87eb8170
Child:
87:99b37d26ff2a
--- a/source/WiFiManager.h	Tue Mar 26 23:33:51 2019 +0000
+++ b/source/WiFiManager.h	Thu Mar 28 22:13:06 2019 +0000
@@ -41,8 +41,11 @@
     HttpsRequest* https_request;
     HttpRequest* http_request;
     HttpResponse* http_response;
+    http_request_t *http_req_cfg;
     nsapi_size_or_error_t lastScanCount;
     wifi_cmd_t  wifiCmd;
+    //at_data_msg_t *at_data_resp;
+    int         chunkNum;
     /*  Queue and memory pool for AT to Wifi commands */
     MemoryPool<wifi_cmd_message_t, 16> *_aT2WiFimPool;
     Queue<wifi_cmd_message_t, 16> *_aT2WiFiCmdQueue;
@@ -71,10 +74,7 @@
     void                  set_internet_config();
     nsapi_error_t         connect();
     nsapi_error_t         disconnect();
-    void                  createHttpsRequest(http_method method,
-                                           const char* url,
-                                           Callback<void(const char *at, uint32_t length)> body_callback = 0
-                                           );
+    void                  createHttpsRequest();
     void                  createHttpRequest(http_method method,
                                           const char* url,
                                           Callback<void(const char *at, uint32_t length)> body_callback = 0
@@ -90,6 +90,8 @@
     bool                  queueWiFiDataResponse(at_data_msg_t at_resp);
     const char *          sec2str(nsapi_security_t sec);    
     void                  free_DataMsg();
+    void                  body_callback(const char *at, uint32_t length);
+    void                  return_response(HttpResponse* res);
 
     /**
     * Allows timeout to be changed between commands