<?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: Call to get system info in Postman not working in javascript in DevNet Sandbox</title>
    <link>https://community.cisco.com/t5/devnet-sandbox/call-to-get-system-info-in-postman-not-working-in-javascript/m-p/4814119#M8012</link>
    <description>&lt;P&gt;Hi Marcel, thanks for the response.&lt;/P&gt;&lt;P&gt;I thought that too initially, so I set the timeout on the ajax call to 100 seconds and still got the same error.&amp;nbsp; I'm thinking maybe I'm missing a header, or some configuration setting, but I'm not sure what it could be.&amp;nbsp; The lab makes all its calls using Postman, but I need to be able to call the Finesse REST API from javascript.&lt;/P&gt;</description>
    <pubDate>Thu, 13 Apr 2023 22:50:49 GMT</pubDate>
    <dc:creator>ajdmbs</dc:creator>
    <dc:date>2023-04-13T22:50:49Z</dc:date>
    <item>
      <title>Call to get system info in Postman not working in javascript</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/call-to-get-system-info-in-postman-not-working-in-javascript/m-p/4813987#M8008</link>
      <description>&lt;P&gt;In the Finesse Basic User REST API lab, once I connect to the VPN, if I make a HTTP GET in Postman to&amp;nbsp;&lt;A href="https://hq-uccx.abc.inc:8445/finesse/api/SystemInfo" target="_blank"&gt;https://hq-uccx.abc.inc:8445/finesse/api/SystemInfo&lt;/A&gt;&amp;nbsp;it successfully retrieves the system information.&amp;nbsp; However, when I make the same call in javascript/JQuery, I get a 499 error:&lt;/P&gt;&lt;P&gt;$.ajax({&lt;BR /&gt;type: "GET",&lt;BR /&gt;url: "&lt;A href="https://hq-uccx.abc.inc:8445/finesse/api/SystemInfo" target="_blank"&gt;https://hq-uccx.abc.inc:8445/finesse/api/SystemInfo&lt;/A&gt;",&lt;BR /&gt;success: function (json) { console.log(json); },&lt;BR /&gt;error: function (json) { console.log(json); }&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;This call doesn't require any authentication.&amp;nbsp; Am I missing something in the ajax call?&amp;nbsp; Or maybe the server is blocking ajax calls from my browser?&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Alfredo&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 17:56:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/call-to-get-system-info-in-postman-not-working-in-javascript/m-p/4813987#M8008</guid>
      <dc:creator>ajdmbs</dc:creator>
      <dc:date>2023-04-13T17:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Call to get system info in Postman not working in javascript</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/call-to-get-system-info-in-postman-not-working-in-javascript/m-p/4814096#M8011</link>
      <description>&lt;P&gt;Hi alfredo&lt;/P&gt;
&lt;P&gt;i‘m not really fluent in jquery - however http 499&amp;nbsp;&lt;SPAN&gt;indicates that the client has closed the connection while the server is still processing the request. So this may be a timeout related issue. Whats your timeout and can you increase the timeout value?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 22:06:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/call-to-get-system-info-in-postman-not-working-in-javascript/m-p/4814096#M8011</guid>
      <dc:creator>Marcel Zehnder</dc:creator>
      <dc:date>2023-04-13T22:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: Call to get system info in Postman not working in javascript</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/call-to-get-system-info-in-postman-not-working-in-javascript/m-p/4814119#M8012</link>
      <description>&lt;P&gt;Hi Marcel, thanks for the response.&lt;/P&gt;&lt;P&gt;I thought that too initially, so I set the timeout on the ajax call to 100 seconds and still got the same error.&amp;nbsp; I'm thinking maybe I'm missing a header, or some configuration setting, but I'm not sure what it could be.&amp;nbsp; The lab makes all its calls using Postman, but I need to be able to call the Finesse REST API from javascript.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 22:50:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/call-to-get-system-info-in-postman-not-working-in-javascript/m-p/4814119#M8012</guid>
      <dc:creator>ajdmbs</dc:creator>
      <dc:date>2023-04-13T22:50:49Z</dc:date>
    </item>
  </channel>
</rss>

