Icon View Thread

The following is the text of the current message along with any replies.
Messages 11 to 12 of 12 total
Thread TServerRequest not reaching remote php webservice
Mon, Aug 21 2017 11:39 PMPermanent Link

Raul

Team Elevate Team Elevate

On 8/21/2017 9:20 AM, Matthew Jones wrote:
> FWIW, you can use a different URL from within the IDE without a problem. So there is something wrong with your code.

That is not entirely correct - you can only query hosts that allow CORS.

Try this for example

   ServerRequest1.URL := 'https://www.elevatesoft.com';
   ServerRequest1.Execute;

with app hosted from IDE or EWB Web Server.

Raul
Tue, Aug 22 2017 5:50 AMPermanent Link

Matthew Jones

Raul wrote:

> > FWIW, you can use a different URL from within the IDE without a problem. So there is something wrong with your code.
>
> That is not entirely correct - you can only query hosts that allow CORS.

Indeed, I was adding the general "it should work" to the already posted CORS information, which had been already mentioned by you. Always worth clarifying though!

--

Matthew Jones
« Previous PagePage 2 of 2
Jump to Page:  1 2
Image