07-16-2016, 12:06 AM
There would be no way to distinguish between parameters coming in from the URL and those coming from the POST body. I'm no longer sure what the HTTP standard says, if it says anything at all.
In order for the params to be parsed, you need the correct Content-type - "application/x-www-form-urlencoded" or "multipart/form-data" (see HTTP/HTTPFormParser.cpp for the implementation)
Anyway, you could still use the cUrlParser to parse the params out of the URL yourself, although this is needlessly difficult.
In order for the params to be parsed, you need the correct Content-type - "application/x-www-form-urlencoded" or "multipart/form-data" (see HTTP/HTTPFormParser.cpp for the implementation)
Anyway, you could still use the cUrlParser to parse the params out of the URL yourself, although this is needlessly difficult.