Dear cgicc team,
I'w writing a RESTful API using cgicc. The REST API uses both POST and PUT. The body data is only available in fPostData when the request method is POST. I can't figure out how to get the body data passed when the request method is PUT.
Would it be an improvement to stuff fPostData with the data passed in a PUT request as well.
Instead of this:
// line 68 in CgiEnvironment.cpp
if(stringsAreEqual(fRequestMethod, "post") {
Change it to this:
// line 68 in CgiEnvironment.cpp
if(stringsAreEqual(fRequestMethod, "post") || stringsAreEqual(fRequestMethod, "put")) {
Thanks,
Chris Kranich