Is there a way to show what the call will be? I would like to debug to be sure what the call is being built as...
E.g., Show(MyRequest)
MyRequest = https://may.api.url/?username=XXX1234567
myAPIURL = "https://my.api.url/";
myRequest = New HTTP Request(
URL(myAPIURL),
Method("GET"),
Headers("username: XXX1234567");
);
Check the scripting index, or use show properties. It looks like there are only two getters of interest before the send:
myAPIURL = "https://my.api.url/";
myRequest = New HTTP Request(
URL(myAPIURL),
Method("GET"),
Headers("username: XXX1234567");
);
showproperties(myRequest);
myRequest<<get last url; // "https://my.api.url/"
myRequest<<get method; // "GET"
Thanks. From what I can find there really is now way to "show" the whole string for the request. Just beginning to learn about API so maybe my want is not a normal request, but just thought it would be good to debug.
Check the scripting index, or use show properties. It looks like there are only two getters of interest before the send:
myAPIURL = "https://my.api.url/";
myRequest = New HTTP Request(
URL(myAPIURL),
Method("GET"),
Headers("username: XXX1234567");
);
showproperties(myRequest);
myRequest<<get last url; // "https://my.api.url/"
myRequest<<get method; // "GET"
Thanks. From what I can find there really is now way to "show" the whole string for the request. Just beginning to learn about API so maybe my want is not a normal request, but just thought it would be good to debug.
I understand why you want to see it. It would make a good wish list item.
I think there are web sites that will echo the request back to you, but I have not played with them.