Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

Getting response from a POST request

Post Reply
thefunkyjoint
Posts: 513
Joined: Thu Aug 10, 2017 12:40 pm

Getting response from a POST request

Post 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
User avatar
salvadordf
Posts: 4575
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Getting response from a POST request

Post by salvadordf »

Hi,

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