<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: New HTTP Request : How to see what the call is in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/New-HTTP-Request-How-to-see-what-the-call-is/m-p/605455#M80787</link>
    <description>&lt;P&gt;Check the scripting index, or use show properties. It looks like there are only two getters of interest before the send:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;myAPIURL = "https://my.api.url/";

myRequest = New HTTP Request(
	URL(myAPIURL),
	Method("GET"),
	Headers("username: XXX1234567");
);

showproperties(myRequest);

myRequest&amp;lt;&amp;lt;get last url; // "https://my.api.url/"
myRequest&amp;lt;&amp;lt;get method; // "GET"&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 25 Feb 2023 01:45:59 GMT</pubDate>
    <dc:creator>Craige_Hales</dc:creator>
    <dc:date>2023-02-25T01:45:59Z</dc:date>
    <item>
      <title>New HTTP Request : How to see what the call is</title>
      <link>https://community.jmp.com/t5/Discussions/New-HTTP-Request-How-to-see-what-the-call-is/m-p/605441#M80786</link>
      <description>&lt;P&gt;Is there a way to show what the call will be?&amp;nbsp; I would like to debug to be sure what the call is being built as...&lt;/P&gt;&lt;P&gt;E.g., Show(MyRequest)&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MyRequest = &lt;A href="https://may.api.url/?username=XXX1234567" target="_blank" rel="noopener"&gt;https://may.api.url/?username=XXX1234567&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;myAPIURL = "https://my.api.url/";

myRequest = New HTTP Request(
	URL(myAPIURL),
	Method("GET"),
	Headers("username: XXX1234567");
);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 16:33:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/New-HTTP-Request-How-to-see-what-the-call-is/m-p/605441#M80786</guid>
      <dc:creator>justvince</dc:creator>
      <dc:date>2023-06-08T16:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: New HTTP Request : How to see what the call is</title>
      <link>https://community.jmp.com/t5/Discussions/New-HTTP-Request-How-to-see-what-the-call-is/m-p/605455#M80787</link>
      <description>&lt;P&gt;Check the scripting index, or use show properties. It looks like there are only two getters of interest before the send:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;myAPIURL = "https://my.api.url/";

myRequest = New HTTP Request(
	URL(myAPIURL),
	Method("GET"),
	Headers("username: XXX1234567");
);

showproperties(myRequest);

myRequest&amp;lt;&amp;lt;get last url; // "https://my.api.url/"
myRequest&amp;lt;&amp;lt;get method; // "GET"&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 25 Feb 2023 01:45:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/New-HTTP-Request-How-to-see-what-the-call-is/m-p/605455#M80787</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2023-02-25T01:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: New HTTP Request : How to see what the call is</title>
      <link>https://community.jmp.com/t5/Discussions/New-HTTP-Request-How-to-see-what-the-call-is/m-p/606271#M80830</link>
      <description>&lt;P&gt;Thanks.&amp;nbsp; &amp;nbsp;From what I can find there really is now way to "show" the whole string for the request.&amp;nbsp; Just beginning to learn about API so maybe my want is not a normal request, but just thought it would be good to debug.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 16:21:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/New-HTTP-Request-How-to-see-what-the-call-is/m-p/606271#M80830</guid>
      <dc:creator>justvince</dc:creator>
      <dc:date>2023-02-28T16:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: New HTTP Request : How to see what the call is</title>
      <link>https://community.jmp.com/t5/Discussions/New-HTTP-Request-How-to-see-what-the-call-is/m-p/606294#M80831</link>
      <description>&lt;P&gt;I understand why you want to see it. It would make a good wish list item.&lt;/P&gt;
&lt;P&gt;I think there are web sites that will echo the request back to you, but I have not played with them.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 16:41:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/New-HTTP-Request-How-to-see-what-the-call-is/m-p/606294#M80831</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2023-02-28T16:41:51Z</dc:date>
    </item>
  </channel>
</rss>

