- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is implemented with reference to the examples(https_client.c)
below http get request code.
"GET /test?a=1122334455&b=10&c=10 HTTP/1.1\r\n" \
"Host: \r\n" \
"Connection: close\r\n" \
"\r\n"
But, my question is this code change post request.
I'm changing below code try http server request
"POST /test HTTP/1.1\r\n" \
"Host: \r\n" \
"Content-Length: 22\r\n"\
"Connection: close\r\n" \
"\r\n\r\n" \
"a=1122334455&b=10&c=10" \
"\r\n\r\n\r\n"
parameter a,b,c sending,
but the server has not checked parameter values.
I'm using WICED SDK 3.3.1.
- Labels:
-
SDK 3.x
-
Web Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
the present api's does not have parameter separation for parameter values. Hence you will need to pass it with the host url.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
"POST /test HTTP/1.1\r\n" \
"Host: \r\n" \
"Content-Length: 22\r\n"\
"Connection: close\r\n" \
"\r\n\" \
"a=1122334455&b=10&c=10\r\n" \
"\r\n"