<?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 Coding and API's question in Communities of Interest</title>
    <link>https://community.cisco.com/t5/communities-of-interest/coding-and-api-s-question/m-p/3872704#M38</link>
    <description>&lt;P&gt;Greetings all,&lt;/P&gt;&lt;P&gt;&amp;nbsp; I am going through the Coding and API's course:&amp;nbsp;&lt;A href="https://developer.cisco.com/startnow/#coding-apis-v0" target="_blank" rel="noopener"&gt;https://developer.cisco.com/startnow/#coding-apis-v0&lt;/A&gt;&amp;nbsp;and when I get to Section for&amp;nbsp;What is REST? What is an API? and the section 4 which shows examples of Rest API&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I get to the Cisco Webex Teams API section and it tells me to go to&amp;nbsp;&lt;A href="https://developer.webex.com/docs/api/v1/people/get-my-own-details" target="_blank" rel="noopener"&gt;https://developer.webex.com/docs/api/v1/people/get-my-own-details&lt;/A&gt;&amp;nbsp;and I assume run the script to get it to send my authentication to the server:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Run Rest.png" style="width: 459px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/38552i231DD43CFB7474E8/image-dimensions/459x224?v=v2" width="459" height="224" role="button" title="Run Rest.png" alt="Run Rest.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So right after I run this, from my Command Line I run this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;C:\Users\wfsteadman&amp;gt;curl &lt;A href="https://api.ciscospark.com/v1/messages" target="_blank" rel="noopener"&gt;https://api.ciscospark.com/v1/messages&lt;/A&gt; -X POST -H "Authorization:Bearer YTQ3M2FkOTYtOWI0YS00MDg5LTk2YjQtNGJhN2M2NTlkYjNkNTg5ZjAyNjItZGE2_PF84_4a6cd7b4-8577-4edd-b5c1-d092ae05ece4" --data "toPersonEmail=wfsteadman@gmail.com" --data "text=Hi%20from%20DevNet"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I get the following results:&lt;BR /&gt;{"message":"Failed to create room.","errors":[{"description":"Failed to create room."}],"trackingId":"ROUTER_5D02B18E-20EA-01BB-624C-49D9428E624C"}&lt;BR /&gt;C:\Users\wfsteadman&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I am not sure if I am supposed to be doing something else to get the response the tutorial says I should get&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Really interested in learning REST and API's but seems like I am stuck right at the starting gate and it says no experience necessary.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THANKS IN ADVANCE&lt;/P&gt;&lt;P&gt;Wally&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jun 2019 20:38:56 GMT</pubDate>
    <dc:creator>WalterSteadman3976</dc:creator>
    <dc:date>2019-06-13T20:38:56Z</dc:date>
    <item>
      <title>Coding and API's question</title>
      <link>https://community.cisco.com/t5/communities-of-interest/coding-and-api-s-question/m-p/3872704#M38</link>
      <description>&lt;P&gt;Greetings all,&lt;/P&gt;&lt;P&gt;&amp;nbsp; I am going through the Coding and API's course:&amp;nbsp;&lt;A href="https://developer.cisco.com/startnow/#coding-apis-v0" target="_blank" rel="noopener"&gt;https://developer.cisco.com/startnow/#coding-apis-v0&lt;/A&gt;&amp;nbsp;and when I get to Section for&amp;nbsp;What is REST? What is an API? and the section 4 which shows examples of Rest API&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I get to the Cisco Webex Teams API section and it tells me to go to&amp;nbsp;&lt;A href="https://developer.webex.com/docs/api/v1/people/get-my-own-details" target="_blank" rel="noopener"&gt;https://developer.webex.com/docs/api/v1/people/get-my-own-details&lt;/A&gt;&amp;nbsp;and I assume run the script to get it to send my authentication to the server:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Run Rest.png" style="width: 459px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/38552i231DD43CFB7474E8/image-dimensions/459x224?v=v2" width="459" height="224" role="button" title="Run Rest.png" alt="Run Rest.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So right after I run this, from my Command Line I run this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;C:\Users\wfsteadman&amp;gt;curl &lt;A href="https://api.ciscospark.com/v1/messages" target="_blank" rel="noopener"&gt;https://api.ciscospark.com/v1/messages&lt;/A&gt; -X POST -H "Authorization:Bearer YTQ3M2FkOTYtOWI0YS00MDg5LTk2YjQtNGJhN2M2NTlkYjNkNTg5ZjAyNjItZGE2_PF84_4a6cd7b4-8577-4edd-b5c1-d092ae05ece4" --data "toPersonEmail=wfsteadman@gmail.com" --data "text=Hi%20from%20DevNet"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I get the following results:&lt;BR /&gt;{"message":"Failed to create room.","errors":[{"description":"Failed to create room."}],"trackingId":"ROUTER_5D02B18E-20EA-01BB-624C-49D9428E624C"}&lt;BR /&gt;C:\Users\wfsteadman&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I am not sure if I am supposed to be doing something else to get the response the tutorial says I should get&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Really interested in learning REST and API's but seems like I am stuck right at the starting gate and it says no experience necessary.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THANKS IN ADVANCE&lt;/P&gt;&lt;P&gt;Wally&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 20:38:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/communities-of-interest/coding-and-api-s-question/m-p/3872704#M38</guid>
      <dc:creator>WalterSteadman3976</dc:creator>
      <dc:date>2019-06-13T20:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Coding and API's question</title>
      <link>https://community.cisco.com/t5/communities-of-interest/coding-and-api-s-question/m-p/3878812#M46</link>
      <description>&lt;P&gt;Me too. Any luck?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 20:42:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/communities-of-interest/coding-and-api-s-question/m-p/3878812#M46</guid>
      <dc:creator>dporod</dc:creator>
      <dc:date>2019-06-24T20:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Coding and API's question</title>
      <link>https://community.cisco.com/t5/communities-of-interest/coding-and-api-s-question/m-p/4000272#M59</link>
      <description>&lt;P&gt;If you're trying to send message to yourself, it will not work. Try and to set "toPersonEmail" to a different WebEx Teams contact.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 21:21:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/communities-of-interest/coding-and-api-s-question/m-p/4000272#M59</guid>
      <dc:creator>AL6</dc:creator>
      <dc:date>2019-12-17T21:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Coding and API's question</title>
      <link>https://community.cisco.com/t5/communities-of-interest/coding-and-api-s-question/m-p/4004263#M61</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;This is what works&lt;/U&gt;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;curl -H "Authorization: Bearer INSERT_ACCESS_CODE_HERE" '&lt;A href="https://api.ciscospark.com/v1/messages" target="_blank" rel="noopener"&gt;https://api.ciscospark.com/v1/messages&lt;/A&gt;' --data 'toPersonEmail=INSERT_EMAIL_HERE' --data 'text=Testing 1,2,3. Just Joe Smith working on API. Please disregard'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And be sure to message someone with a Cisco email, other than yourself&lt;/P&gt;</description>
      <pubDate>Sat, 28 Dec 2019 03:38:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/communities-of-interest/coding-and-api-s-question/m-p/4004263#M61</guid>
      <dc:creator>Alexander Stevenson</dc:creator>
      <dc:date>2019-12-28T03:38:51Z</dc:date>
    </item>
  </channel>
</rss>

