New to this so please bear with me...
I am trying to use 'submitrequest' for the first time to pull contact from a URL. Below is what I have thus far but it doesn't appear to be working. Does anyone have experience doing this?
If I manually use the URL in a browser, it works. When i try in a program, it doesn't.
001: URL = "https://trison-dev.myxcarrier.com/ECSAPI/Labels/275926435770.txt"
002: HTTP.STATUS=''
003: TIME.OUT='3000'
004: RESP.DATA=""
005: RESP.HEADER = ""
006:
007: RESP = createRequest(URL,'GET',HTTP.HANDLER)
008: CRT "Reponse to create request = ":RESP
009: RESP = submitRequest(HTTP.HANDLER,TIME.OUT,'',RESP.HEADER,RESP.DATA,HTTP.STATUS)
010: CRT RESP
011: CRT "HTTP.STATUS - ":HTTP.STATUS
I ran the test and received the following:
:TEST.HTTPS
Reponse to create request = 0
0
HTTP.STATUS - 400ýBad Request