I'm having some trouble using the C HTTP SDK. It appears it does not allow you to retrieve the response for a Http Post. Has anyone encountered a similar problem?
Thanks in advance,
I have tested with XDK Workbench Application "HttpExampleClient"
I have configured WLAN_SSID and WLAN_PSK in the "HttpExampleClient" Application
Compiled and Flashed the "HttpExampleClient" application into XDK device.
Able to Recieve HTTP Get and Post callback Successfully
Please find the attachment
Thanks for your quick reply. However the problem I have is that the callback function for the POST is defined in the SDK, and modifying that function would modify the SDK. I am trying to avoid this case. As you have seen the callback function for the GET function is in the HttpExample source files and can be modified without no consequence on the SDK.
There is provision to use default calllback for HTTP GET requests(if set NULL) or use cusotm callback which is mapped in the application.
As you have mentioned, there is no custom callback for HTTP POST requests.
You can modify the HTTPRestClient.c in Common layer if needed to make changes for your POST resposnse.