Code: Select all
put "APIURL?pin=" && the text of field txtPIN into tAPIReq
replace " " with "" in tAPIReq
put URL tAPIReq into tJsonResp
put the result in theError
This call works fine when used through POSTMan or even directly in a browser and is even currently integrated into both a Windows application and iOS App, but is giving me issues with LiveCode. I'm assuming I need to set the http headers, but haven't found a good explanation of setting those on returned information, only on sent information.
Any help would be appreciated!