POST to custom scheme

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

POST to custom scheme

Postby brunobg » Wed Jun 17, 2015 9:45 am

Is it possible to send POST requests with data to custom schemes? I'm trying to save data from the application to a file using an AJAX POST request, CefRefPtr<CefPostData> postData = request->GetPostData(); always returns nothing (postdata.get() is false). https://bitbucket.org/chromiumembedded/ ... essrequest says this cannot be done.

Any suggestions as to how send data to a custom scheme handler? Any tips of how to save data from JS to local files? Thanks
brunobg
Newbie
 
Posts: 8
Joined: Wed Feb 19, 2014 8:02 am

Re: POST to custom scheme

Postby magreenblatt » Thu Jun 18, 2015 12:29 pm

Register your scheme handler using the HTTP scheme. For example, http://mycustomscheme.com.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: cybersight, Google [Bot] and 49 guests