<?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 URL API basics - what am I doing wrong? Any sourcecode examples? in Cloud Collaboration</title>
    <link>https://community.cisco.com/t5/cloud-collaboration/url-api-basics-what-am-i-doing-wrong-any-sourcecode-examples/m-p/3474992#M546</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am already successfully using WebEx XML API, but I also wanted &lt;STRONG&gt;to try the URL API&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;One interesting feature of the URL API is the ability to end an ongoing meeting (which is not possible via the XML API).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I reserved a shared sandbox through the &lt;A href="https://developer.cisco.com/site/webex-developer/develop-test/try-webex-apis/"&gt;Try WebEx Conferencing API's&lt;/A&gt; webpage.&lt;/P&gt;&lt;P&gt;I created user with ID = &lt;STRONG&gt;1410997&lt;/STRONG&gt; and password '&lt;STRONG&gt;mypassword&lt;/STRONG&gt;'.&lt;/P&gt;&lt;P&gt;Then, I manually started a meeting with meeting key '&lt;STRONG&gt;622 900 191&lt;/STRONG&gt;'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I want &lt;STRONG style="color: #3366ff;"&gt;to end this meeting&lt;/STRONG&gt; through the URL API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I am first sending the following HTTP GET request (programatically, not typing it manually in the browser):&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;A class="jive-link-external-small" href="https://apidemoeu.webex.com/apidemoeu/p.php?AT=LO&amp;amp;WID=1410997&amp;amp;PW=mypassword" rel="nofollow" target="_blank"&gt;https://apidemoeu.webex.com/apidemoeu/p.php?AT=LO&amp;amp;WID=1410997&amp;amp;PW=mypassword&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...which returns an HTML page containing some JavaScript and a form with a hidden field '&lt;STRONG&gt;destUrl&lt;/STRONG&gt;':&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN&gt;&amp;lt;input type="hidden" id="destUrl" value="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://apidemoeu.webex.com/mw3200/mywebex/default.do?siteurl=apidemoeu&amp;amp;AT=LO&amp;amp;ST=SUCCESS" rel="nofollow" target="_blank"&gt;https://apidemoeu.webex.com/mw3200/mywebex/default.do?siteurl=apidemoeu&amp;amp;AT=LO&amp;amp;ST=SUCCESS&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far, so good. Then, I am sending second HTTP GET request to kill the meeting:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;A class="jive-link-external-small" href="https://apidemoeu.webex.com/apidemoeu/w.php?AT=KM&amp;amp;MK=622900191&amp;amp;WID=1410997&amp;amp;PW=mypassword" rel="nofollow" target="_blank"&gt;https://apidemoeu.webex.com/apidemoeu/w.php?AT=KM&amp;amp;MK=622900191&amp;amp;WID=1410997&amp;amp;PW=mypassword&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And this one unfortunately fails, returning the following text:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG style="color: #ff0000;"&gt;AT=KM&amp;amp;ST=FAIL&amp;amp;RS=AccessDenied&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. So, what am I doing wrong? Why is the &lt;STRONG&gt;AT=KM&lt;/STRONG&gt; command failing?&lt;/P&gt;&lt;P&gt;Is it because of improper cookie management on my side?&lt;/P&gt;&lt;P&gt;Do I need to execute JS scripts from the HTML returned by the &lt;STRONG&gt;AT=LO&lt;/STRONG&gt; command?&lt;/P&gt;&lt;P&gt;Do I need to visit the &lt;STRONG&gt;destUrl&lt;/STRONG&gt; to finished the logging-in process?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Also, do you have any working sourcecode examples (in Java or PHP) of using WebEx URL API?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Oct 2017 15:36:39 GMT</pubDate>
    <dc:creator>john.cleese</dc:creator>
    <dc:date>2017-10-05T15:36:39Z</dc:date>
    <item>
      <title>URL API basics - what am I doing wrong? Any sourcecode examples?</title>
      <link>https://community.cisco.com/t5/cloud-collaboration/url-api-basics-what-am-i-doing-wrong-any-sourcecode-examples/m-p/3474992#M546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am already successfully using WebEx XML API, but I also wanted &lt;STRONG&gt;to try the URL API&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;One interesting feature of the URL API is the ability to end an ongoing meeting (which is not possible via the XML API).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I reserved a shared sandbox through the &lt;A href="https://developer.cisco.com/site/webex-developer/develop-test/try-webex-apis/"&gt;Try WebEx Conferencing API's&lt;/A&gt; webpage.&lt;/P&gt;&lt;P&gt;I created user with ID = &lt;STRONG&gt;1410997&lt;/STRONG&gt; and password '&lt;STRONG&gt;mypassword&lt;/STRONG&gt;'.&lt;/P&gt;&lt;P&gt;Then, I manually started a meeting with meeting key '&lt;STRONG&gt;622 900 191&lt;/STRONG&gt;'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I want &lt;STRONG style="color: #3366ff;"&gt;to end this meeting&lt;/STRONG&gt; through the URL API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I am first sending the following HTTP GET request (programatically, not typing it manually in the browser):&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;A class="jive-link-external-small" href="https://apidemoeu.webex.com/apidemoeu/p.php?AT=LO&amp;amp;WID=1410997&amp;amp;PW=mypassword" rel="nofollow" target="_blank"&gt;https://apidemoeu.webex.com/apidemoeu/p.php?AT=LO&amp;amp;WID=1410997&amp;amp;PW=mypassword&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...which returns an HTML page containing some JavaScript and a form with a hidden field '&lt;STRONG&gt;destUrl&lt;/STRONG&gt;':&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN&gt;&amp;lt;input type="hidden" id="destUrl" value="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://apidemoeu.webex.com/mw3200/mywebex/default.do?siteurl=apidemoeu&amp;amp;AT=LO&amp;amp;ST=SUCCESS" rel="nofollow" target="_blank"&gt;https://apidemoeu.webex.com/mw3200/mywebex/default.do?siteurl=apidemoeu&amp;amp;AT=LO&amp;amp;ST=SUCCESS&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far, so good. Then, I am sending second HTTP GET request to kill the meeting:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;A class="jive-link-external-small" href="https://apidemoeu.webex.com/apidemoeu/w.php?AT=KM&amp;amp;MK=622900191&amp;amp;WID=1410997&amp;amp;PW=mypassword" rel="nofollow" target="_blank"&gt;https://apidemoeu.webex.com/apidemoeu/w.php?AT=KM&amp;amp;MK=622900191&amp;amp;WID=1410997&amp;amp;PW=mypassword&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And this one unfortunately fails, returning the following text:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG style="color: #ff0000;"&gt;AT=KM&amp;amp;ST=FAIL&amp;amp;RS=AccessDenied&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. So, what am I doing wrong? Why is the &lt;STRONG&gt;AT=KM&lt;/STRONG&gt; command failing?&lt;/P&gt;&lt;P&gt;Is it because of improper cookie management on my side?&lt;/P&gt;&lt;P&gt;Do I need to execute JS scripts from the HTML returned by the &lt;STRONG&gt;AT=LO&lt;/STRONG&gt; command?&lt;/P&gt;&lt;P&gt;Do I need to visit the &lt;STRONG&gt;destUrl&lt;/STRONG&gt; to finished the logging-in process?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Also, do you have any working sourcecode examples (in Java or PHP) of using WebEx URL API?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 15:36:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cloud-collaboration/url-api-basics-what-am-i-doing-wrong-any-sourcecode-examples/m-p/3474992#M546</guid>
      <dc:creator>john.cleese</dc:creator>
      <dc:date>2017-10-05T15:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: URL API basics - what am I doing wrong? Any sourcecode examples?</title>
      <link>https://community.cisco.com/t5/cloud-collaboration/url-api-basics-what-am-i-doing-wrong-any-sourcecode-examples/m-p/3474993#M547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sending passwords and meeting keys via HTTP GET is no longer supported for security reasons, please use HTTPS POST instead.. for more information on these changes see: &lt;A href="https://community.cisco.com/migration-blogpost/7614"&gt;Recent URL API Changes - Get2Post&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The WebEx XML API is suggested for use with server side scripts such as PHP/Java, the WebEx URL API is more designed for browser consumption and is far more limited in functionality.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2017 14:49:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cloud-collaboration/url-api-basics-what-am-i-doing-wrong-any-sourcecode-examples/m-p/3474993#M547</guid>
      <dc:creator>ryanhunt</dc:creator>
      <dc:date>2017-10-09T14:49:39Z</dc:date>
    </item>
  </channel>
</rss>

