POST, PUT,... requests in Awesomium

Make an app using Awesomium fresh under Windows. All in pure C++. CreateWindow creates a window, the browser switched on manually. In the course of the work found that in order to earn something, or have a parameter in the structure of settings to enable or handler to something to hang, but the subject is not found.

cannot be processed.
Found ResourceInterceptor, he is the OnRequest handler and the parameter Awesomium::ResourceRequest* request.
Everything is fine, the headers are there, the POST method, and how to get the data — no idea. num_upload_elements returns 0. Tech support keeps silence. Next worse, I'm also using backbone, and I would like PUT requests with JSON content processing.

Do not write your webserver for these needs, and to drive from one local port to another traffic.

Has anyone come across, any idea how to win?
October 3rd 19 at 04:32
1 answer
October 3rd 19 at 04:34
I there especially did not dig — yet only superficially looked at, but according to the documentation:
GetUploadElement (unsigned int idx)=0
 Get a certain upload element (returned instance is owned by this class) 
AppendUploadFilePath (const WebString &path)=0
 Append a file for POST data (adds a new UploadElement) 
AppendUploadBytes (const char *bytes, unsigned int num_bytes)=0
 Append a string of bytes for POST data (adds a new UploadElement)

The idea that any of this should give the data. Not?
always returns 0
accordingly, any parameter = NULL. No data. - Mollie32 commented on October 3rd 19 at 04:37
I think it's more like
Just start accepting the data and just add UploadElement — i.e. on idea it is necessary first AppendUpload* to use, and it will increment the counter of accepted items. Or not? - Aryanna_Hegmann commented on October 3rd 19 at 04:40

Find more questions by tags C++Google ChromejQuery