<?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: access content of Web Page Box? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/access-content-of-Web-Page-Box/m-p/827204#M100865</link>
    <description>&lt;P&gt;Might be worth trying to figure out why New HTTP Request doesn't work.&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jan 2025 20:07:22 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2025-01-13T20:07:22Z</dc:date>
    <item>
      <title>access content of Web Page Box?</title>
      <link>https://community.jmp.com/t5/Discussions/access-content-of-Web-Page-Box/m-p/827178#M100861</link>
      <description>&lt;P&gt;I get an error message when I access a REST API via &lt;FONT face="courier new,courier"&gt;load text file()&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;load text file ("http://api.open-notify.org/iss-now.json");&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;On the other hand, it works when I use &lt;FONT face="courier new,courier"&gt;web()&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;New Window("", web browser = Web Browser Box ( "http://api.open-notify.org/iss-now.json", JMP window ));&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to retrieve the &lt;FONT face="courier new,courier"&gt;JSON&lt;/FONT&gt; string via the &lt;FONT face="courier new,courier"&gt;Web Page Box&lt;/FONT&gt;?&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;web browser &amp;lt;&amp;lt; Get text;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;CODE class=" language-jsl"&gt;&lt;A href="http://api.open-notify.org/iss-now.json" target="_blank" rel="noopener"&gt;http://api.open-notify.org/iss-now.json&lt;/A&gt;&lt;/CODE&gt;&amp;nbsp;is just used to explain the difference. With this API both approaches work.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2025 07:15:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/access-content-of-Web-Page-Box/m-p/827178#M100861</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-01-14T07:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: access content of Web Page Box?</title>
      <link>https://community.jmp.com/t5/Discussions/access-content-of-Web-Page-Box/m-p/827191#M100862</link>
      <description>&lt;P&gt;Have you tried using New HTTP Request or Open?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

request = New HTTP Request(
	URL("http://api.open-notify.org/iss-now.json"),
	Method("GET")
);
data = request &amp;lt;&amp;lt; Send;
aa = Parse JSON(data);

// dt = Open("http://api.open-notify.org/iss-now.json");
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 13 Jan 2025 19:29:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/access-content-of-Web-Page-Box/m-p/827191#M100862</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-01-13T19:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: access content of Web Page Box?</title>
      <link>https://community.jmp.com/t5/Discussions/access-content-of-Web-Page-Box/m-p/827201#M100863</link>
      <description>&lt;P&gt;yes, I tried both.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 19:30:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/access-content-of-Web-Page-Box/m-p/827201#M100863</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-01-13T19:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: access content of Web Page Box?</title>
      <link>https://community.jmp.com/t5/Discussions/access-content-of-Web-Page-Box/m-p/827202#M100864</link>
      <description>&lt;P&gt;Seems that &lt;FONT face="courier new,courier"&gt;web()&lt;/FONT&gt; is using the web browser of my system - with the benefit of getting the access.&lt;/P&gt;&lt;P&gt;On the other hand this might prevent us from accessing the content? [out of reach for JMP?]&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 19:32:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/access-content-of-Web-Page-Box/m-p/827202#M100864</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-01-13T19:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: access content of Web Page Box?</title>
      <link>https://community.jmp.com/t5/Discussions/access-content-of-Web-Page-Box/m-p/827204#M100865</link>
      <description>&lt;P&gt;Might be worth trying to figure out why New HTTP Request doesn't work.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 20:07:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/access-content-of-Web-Page-Box/m-p/827204#M100865</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-01-13T20:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: access content of Web Page Box?</title>
      <link>https://community.jmp.com/t5/Discussions/access-content-of-Web-Page-Box/m-p/827206#M100866</link>
      <description>&lt;P&gt;via &lt;FONT face="courier new,courier"&gt;Web()&lt;/FONT&gt;, it seems that JMP automatically inherits the permissions from the browser.&lt;BR /&gt;&lt;BR /&gt;I just found:&lt;BR /&gt;&lt;A href="https://community.jmp.com/t5/JMP-Wish-List/Additional-Wait-type-command/idi-p/626084" target="_blank"&gt;https://community.jmp.com/t5/JMP-Wish-List/Additional-Wait-type-command/idi-p/626084&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1736799376031.png" style="width: 792px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/71907i72D30F201929228A/image-dimensions/792x50?v=v2" width="792" height="50" role="button" title="hogi_0-1736799376031.png" alt="hogi_0-1736799376031.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 20:18:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/access-content-of-Web-Page-Box/m-p/827206#M100866</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-01-13T20:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: access content of Web Page Box?</title>
      <link>https://community.jmp.com/t5/Discussions/access-content-of-Web-Page-Box/m-p/827208#M100867</link>
      <description>&lt;P&gt;Security setting prevent me from getting credentials via the embedded browser.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So I tried&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;oauth2 = New OAuth2( Browser Type( "External" ) );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;This way, the authentication works - but I don't get a"code" or "URL" which I could enter here:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_1-1736799672588.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/71908iC9F7868BAE66D44B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_1-1736799672588.png" alt="hogi_1-1736799672588.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2025 07:13:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/access-content-of-Web-Page-Box/m-p/827208#M100867</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-01-14T07:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: access content of Web Page Box?</title>
      <link>https://community.jmp.com/t5/Discussions/access-content-of-Web-Page-Box/m-p/827251#M100873</link>
      <description>&lt;P&gt;Next try:&lt;BR /&gt;save the content of the web page box and red the save file.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;web browser &amp;lt;&amp;lt; save ()&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;... but the saved file is empty:&amp;nbsp;&lt;LI-MESSAGE title="How to save webpages through JSL" uid="67789" url="https://community.jmp.com/t5/Discussions/How-to-save-webpages-through-JSL/m-p/67789#U67789" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I use Selenium to directly access my External Web Browser and send the commands.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2025 07:16:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/access-content-of-Web-Page-Box/m-p/827251#M100873</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-01-14T07:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: access content of Web Page Box?</title>
      <link>https://community.jmp.com/t5/Discussions/access-content-of-Web-Page-Box/m-p/827283#M100881</link>
      <description>&lt;P&gt;To skip the Selenium part, is there some&amp;nbsp;&lt;SPAN&gt;&lt;EM&gt;UseDefaultCredentials&lt;/EM&gt; setting to use the credentials of my user account to access the files?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2025 08:38:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/access-content-of-Web-Page-Box/m-p/827283#M100881</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-01-14T08:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: access content of Web Page Box?</title>
      <link>https://community.jmp.com/t5/Discussions/access-content-of-Web-Page-Box/m-p/827292#M100887</link>
      <description>&lt;P&gt;I would guess there is a cookie stored somewhere which you might be able to utilize. Are you able to contact the developers of the API and ask for them to create endpoint which could be used with some other authentication method?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2025 11:21:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/access-content-of-Web-Page-Box/m-p/827292#M100887</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-01-14T11:21:13Z</dc:date>
    </item>
  </channel>
</rss>

