Page 1 of 1

Getting response from a POST request

Posted: Mon Apr 13, 2020 7:02 pm
by thefunkyjoint
Hi,

When i use a code like these below, how can i get the response from the website ? For instance, i've made a test PHP script that simply will echo the POST data i sent, how can i get this return back ?

Code: Select all

  Request := TCefRequestRef.New;
  Request.Assign(l, 'POST', Data, Header);
  LoadRequest(Request);
Thanks

Re: Getting response from a POST request

Posted: Mon Apr 13, 2020 8:09 pm
by salvadordf
Hi,

You can use the URLRequest demo to send any request and get all the response headers and data.