<?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 hi,Thomas in Collaboration Applications</title>
    <link>https://community.cisco.com/t5/collaboration-applications/cisco-jabber-guest-api-http-request-errors/m-p/2998262#M9269</link>
    <description>&lt;DIV&gt;Hi,Thomas&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;jabberGuest doesn’t allow Access-Control-Allow-Origin for link post/put/get operations. So invoke the api &lt;SPAN&gt;&lt;SPAN&gt;embed in a web page from your own server&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;will get the No ‘Access-Control-Allow-Origin’….. You can invoke the api by the server side, which means that you can send the request to your own server &amp;nbsp;and invoke the api proxy to server. I have just test in this way and the server can work fine. You know these apis require authorization&amp;nbsp;, so you should have the username and password of the jabber guest web admin page. &amp;nbsp;You can download some Demo from the flowing links:&lt;/DIV&gt;
&lt;DIV&gt;1)&amp;nbsp;&lt;A href="https://developer.cisco.com/site/jabber-guestsdk/downloads/web/" rev="en_rl_small"&gt;https://developer.cisco.com/site/jabber-guestsdk/downloads/web/&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV&gt;2)&amp;nbsp;&lt;A href="https://developer.cisco.com/site/jabber-guestsdk/downloads/links-management/" rev="en_rl_small"&gt;https://developer.cisco.com/site/jabber-guestsdk/downloads/links-management/&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV&gt;The first one&amp;nbsp;is a java web demo and the second&amp;nbsp;is a python file. Both of them contain how to invoke the link api using username and password from the server side.&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Hopeful&amp;nbsp;this can help you. Any questions can feedback here. Thanks&lt;/DIV&gt;</description>
    <pubDate>Tue, 27 Sep 2016 13:22:28 GMT</pubDate>
    <dc:creator>wakang</dc:creator>
    <dc:date>2016-09-27T13:22:28Z</dc:date>
    <item>
      <title>Cisco Jabber guest API HTTP request errors</title>
      <link>https://community.cisco.com/t5/collaboration-applications/cisco-jabber-guest-api-http-request-errors/m-p/2998261#M9268</link>
      <description>&lt;P&gt;I am trying to create a front end that would allow users to create jabber guest links using the jabber guest API, and I have run into some problems when it comes to sending data via a HTTP request to the server which hosts the guest API.&lt;/P&gt;
&lt;P&gt;I first attempted this using ajax to send a post request containing&amp;nbsp;the data from the server my application was hosted on, to the separate server the Jabber Guest API was hosted on. I did this based on the documentation: &lt;A href="https://developer.cisco.com/site/jabber-guestsdk/documents/guest-server-api/v10_0_2-10_6_8/" target="_blank"&gt;https://developer.cisco.com/site/jabber-guestsdk/documents/guest-server-api/v10_0_2-10_6_8/&lt;/A&gt;&amp;nbsp; &lt;A href="https://developer.cisco.com/site/jabber-guestsdk/documents/guest-server-api/v10_6_9/#create-link" target="_blank"&gt;https://developer.cisco.com/site/jabber-guestsdk/documents/guest-server-api/v10_6_9/&lt;/A&gt;. and I got the following Error Message:&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: terminal, monaco, monospace;"&gt;XMLHttpRequest cannot load &lt;SPAN style="color: #999999;"&gt;https://[IP address of the server that is hosting the guest API]/cjg-api/rest/links/.&lt;/SPAN&gt; No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin &lt;SPAN style="color: #999999;"&gt;'http://[Server hosting my application]'&lt;/SPAN&gt;&amp;nbsp;is therefore not allowed access. The response had HTTP status code 401.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I then attempted to send the request from the same server, to the same separate server hosting the API using C#.NET and got this error message:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://community.cisco.com/legacyfs/online/media/cerror.png" class="migrated-markup-image" /&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Has anyone ever encountered these errors before or does anyone know how to solve them?&lt;/P&gt;
&lt;P&gt;I'm pretty sure it's a server problem, but if you would like to see my code I can put it up for you.&lt;/P&gt;
&lt;P&gt;bare in mind that I have limited knowledge of server configurations, and I also do not have access to change the configurations of the server hosting the guest API&lt;/P&gt;
&lt;P&gt;So I don't know how I would go about adding the Access-Control-Allow-Origin header or validating the remote certificate.&lt;/P&gt;
&lt;P&gt;Thank-you for taking the time to read through my problem.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2019 03:56:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/collaboration-applications/cisco-jabber-guest-api-http-request-errors/m-p/2998261#M9268</guid>
      <dc:creator>Thomas.Holmes</dc:creator>
      <dc:date>2019-03-26T03:56:22Z</dc:date>
    </item>
    <item>
      <title>hi,Thomas</title>
      <link>https://community.cisco.com/t5/collaboration-applications/cisco-jabber-guest-api-http-request-errors/m-p/2998262#M9269</link>
      <description>&lt;DIV&gt;Hi,Thomas&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;jabberGuest doesn’t allow Access-Control-Allow-Origin for link post/put/get operations. So invoke the api &lt;SPAN&gt;&lt;SPAN&gt;embed in a web page from your own server&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;will get the No ‘Access-Control-Allow-Origin’….. You can invoke the api by the server side, which means that you can send the request to your own server &amp;nbsp;and invoke the api proxy to server. I have just test in this way and the server can work fine. You know these apis require authorization&amp;nbsp;, so you should have the username and password of the jabber guest web admin page. &amp;nbsp;You can download some Demo from the flowing links:&lt;/DIV&gt;
&lt;DIV&gt;1)&amp;nbsp;&lt;A href="https://developer.cisco.com/site/jabber-guestsdk/downloads/web/" rev="en_rl_small"&gt;https://developer.cisco.com/site/jabber-guestsdk/downloads/web/&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV&gt;2)&amp;nbsp;&lt;A href="https://developer.cisco.com/site/jabber-guestsdk/downloads/links-management/" rev="en_rl_small"&gt;https://developer.cisco.com/site/jabber-guestsdk/downloads/links-management/&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV&gt;The first one&amp;nbsp;is a java web demo and the second&amp;nbsp;is a python file. Both of them contain how to invoke the link api using username and password from the server side.&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Hopeful&amp;nbsp;this can help you. Any questions can feedback here. Thanks&lt;/DIV&gt;</description>
      <pubDate>Tue, 27 Sep 2016 13:22:28 GMT</pubDate>
      <guid>https://community.cisco.com/t5/collaboration-applications/cisco-jabber-guest-api-http-request-errors/m-p/2998262#M9269</guid>
      <dc:creator>wakang</dc:creator>
      <dc:date>2016-09-27T13:22:28Z</dc:date>
    </item>
  </channel>
</rss>

