<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>7 Feb 2018 23:50:00 Z</lastBuildDate><pubDate>7 Feb 2018 19:12:00 Z</pubDate><description>Hello All,&#13;
&#13;
First time trying to call a rest request. I tries code below and got a timed out error.&#13;
&#13;
I have the URL&#13;
2 Headers need to be sent&#13;
Parameter needs to be sent&#13;
&#13;
I have no Idea how to do this so this is my first attempt&#13;
&#13;
first header - Accept: application/json second header - Authorization: Basic 1233blahblahblah2333333122222==" Parameter - LoadNumber: 3986552 sUrl is string = "http://blahblahblah" IF HTTPRequest(sUrl,"","Accept: application/json" +CR+ "Authorization: Basic 1233blahblahblah2333333122222==") THEN Info("It worked") EDT_Result = HTTPGetResult() ELSE Info("Error") END&#13;
Not sure how to format the request. I did test it with a Rest Request test tool and it worked I just need to know how to call it from WIndev&#13;
&#13;
DW</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64455-need-help-with-get-httprequest/read.awp</link><title>Need help with a Get HttpRequest</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64455-need-help-with-get-httprequest-64457/read.awp</comments><pubDate>7 Feb 2018 23:50:00 Z</pubDate><description>Thanks Fabticr&#13;
&#13;
Adding the Cr to the end if the header did the trick&#13;
&#13;
DW</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64455-need-help-with-get-httprequest-64457/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64455-need-help-with-get-httprequest-64457/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64455-need-help-with-get-httprequest/read.awp">Need help with a Get HttpRequest</source><title>Re: Need help with a Get HttpRequest</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64455-need-help-with-get-httprequest-64456/read.awp</comments><pubDate>7 Feb 2018 19:22:00 Z</pubDate><description>Hi Dennis,&#13;
&#13;
1. each header neads to be gollowed by a CR (you are missing the ending one)&#13;
2. parameters should be added to the…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64455-need-help-with-get-httprequest-64456/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64455-need-help-with-get-httprequest-64456/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64455-need-help-with-get-httprequest/read.awp">Need help with a Get HttpRequest</source><title>Re: Need help with a Get HttpRequest</title></item></channel></rss>
