Hello All,
First time trying to call a rest request. I tries code below and got a timed out error.
I have the URL
2 Headers need to be sent
Parameter needs to be sent
I have no Idea how to do this so this is my first attempt
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
DW
First time trying to call a rest request. I tries code below and got a timed out error.
I have the URL
2 Headers need to be sent
Parameter needs to be sent
I have no Idea how to do this so this is my first attempt
first header - Accept: application/json second header - Authorization: Basic 1233blahblahblah2333333122222==" Parameter - LoadNumber: 3986552 sUrl is string = "[blahblahblah"]; IF HTTPRequest(sUrl,"","Accept: application/json" +CR+ "Authorization: Basic 1233blahblahblah2333333122222==") THEN Info("It worked") EDT_Result = HTTPGetResult() ELSE Info("Error") END
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
DW