<?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 http Request with authentication using windows identity in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/http-Request-with-authentication-using-windows-identity/m-p/63067#M33887</link>
    <description>&lt;P&gt;I'm using JMP 13.0.0.&amp;nbsp; I'm currently using the function Load Text File (url) in order to retrieve JSON data from a web api running on my company's intranet.&amp;nbsp; The server requires authentication against our windows active directory.&amp;nbsp; Currently, a dialog pops up requesting credentials, and I can manually type in credentials when prompted, but I want my script to run without that manual intervention.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any ways in JMP 13 to automatically pass the windows identity when making a request to a url?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Excel/VBA, I can do this using&amp;nbsp;WinHttp.WinHttpRequest.5.1 and calling .SetAutoLogonPolicy(0).&amp;nbsp; In JMP 14 there is now an&amp;nbsp;&amp;nbsp;HTTP Request class that maybe has this ability (haven't looked), but&amp;nbsp;we are not yet upgrading&amp;nbsp;to JMP 14.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jul 2018 14:11:42 GMT</pubDate>
    <dc:creator>BioData41</dc:creator>
    <dc:date>2018-07-17T14:11:42Z</dc:date>
    <item>
      <title>http Request with authentication using windows identity</title>
      <link>https://community.jmp.com/t5/Discussions/http-Request-with-authentication-using-windows-identity/m-p/63067#M33887</link>
      <description>&lt;P&gt;I'm using JMP 13.0.0.&amp;nbsp; I'm currently using the function Load Text File (url) in order to retrieve JSON data from a web api running on my company's intranet.&amp;nbsp; The server requires authentication against our windows active directory.&amp;nbsp; Currently, a dialog pops up requesting credentials, and I can manually type in credentials when prompted, but I want my script to run without that manual intervention.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any ways in JMP 13 to automatically pass the windows identity when making a request to a url?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Excel/VBA, I can do this using&amp;nbsp;WinHttp.WinHttpRequest.5.1 and calling .SetAutoLogonPolicy(0).&amp;nbsp; In JMP 14 there is now an&amp;nbsp;&amp;nbsp;HTTP Request class that maybe has this ability (haven't looked), but&amp;nbsp;we are not yet upgrading&amp;nbsp;to JMP 14.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jul 2018 14:11:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/http-Request-with-authentication-using-windows-identity/m-p/63067#M33887</guid>
      <dc:creator>BioData41</dc:creator>
      <dc:date>2018-07-17T14:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: http Request with authentication using windows identity</title>
      <link>https://community.jmp.com/t5/Discussions/http-Request-with-authentication-using-windows-identity/m-p/63296#M33969</link>
      <description>&lt;P&gt;I do not know the service WinHTTP, so I cannot provide an example.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should investigate RunProgram.&amp;nbsp; It is a JMP function that can run a Windows CMD.exe, VBA, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached is a script created for chapter 9 of the book &lt;STRONG&gt;JSL Companion, Applications of the JMP Scripting Language, Second Edition&lt;/STRONG&gt;.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By the way, JMP13.2.1 fixes a few issues found in JMP13.0.0.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this script gives you enough to achieve your task.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2018 20:01:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/http-Request-with-authentication-using-windows-identity/m-p/63296#M33969</guid>
      <dc:creator>gzmorgan0</dc:creator>
      <dc:date>2018-07-18T20:01:17Z</dc:date>
    </item>
  </channel>
</rss>

