<?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: Best practices for using the core [http] api in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Best-practices-for-using-the-core-http-api/m-p/7136#M302</link>
    <description>&lt;P&gt;The error code is just the HTTP status code. E.g., you might see a 400 status code if you submit a bad request.&lt;/P&gt;

&lt;P&gt;If you're still having trouble figuring it out, please let us know what HTTP library you're using and share some code.&lt;/P&gt;</description>
    <pubDate>Tue, 30 Dec 2014 05:15:45 GMT</pubDate>
    <dc:creator>Steve M.</dc:creator>
    <dc:date>2014-12-30T05:15:45Z</dc:date>
    <item>
      <title>Best practices for using the core [http] api</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Best-practices-for-using-the-core-http-api/m-p/7135#M301</link>
      <description>&lt;P&gt;I am using ruby ( and don't want to use the sdk) to access the core API and to authenticate the user. In that process it is said in the documentation that I should handle the API errors included directly in the body of the response. ("Errors are returned using standard HTTP error code syntax. Any additional info is included in the body of the return call, JSON-formatted.")&lt;/P&gt;

&lt;P&gt;Can anyone guide to the proper way to access and extract that error code?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:46:34 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Best-practices-for-using-the-core-http-api/m-p/7135#M301</guid>
      <dc:creator>yem a.</dc:creator>
      <dc:date>2019-05-29T09:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Best practices for using the core [http] api</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Best-practices-for-using-the-core-http-api/m-p/7136#M302</link>
      <description>&lt;P&gt;The error code is just the HTTP status code. E.g., you might see a 400 status code if you submit a bad request.&lt;/P&gt;

&lt;P&gt;If you're still having trouble figuring it out, please let us know what HTTP library you're using and share some code.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Dec 2014 05:15:45 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Best-practices-for-using-the-core-http-api/m-p/7136#M302</guid>
      <dc:creator>Steve M.</dc:creator>
      <dc:date>2014-12-30T05:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Best practices for using the core [http] api</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Best-practices-for-using-the-core-http-api/m-p/7137#M303</link>
      <description>&lt;P&gt;I plan to use the Faraday gem for the calls to the API. But for the authorization process, I simply redirect the user to "&lt;A href="http://www.dropbox.com/1/oauth2/authorize" rel="nofollow noreferrer"&gt;www.dropbox.com/1/oauth2/authorize&lt;/A&gt;" using the "redirect_to". I have no other code yet since I am stuck trying to figure out how to access the response code when Dropbox redirects back to my app with the (authorization) code. I can see it in the terminal thanks to rake server but I am wondering how to access it in the code. Sounds silly, I know. &lt;/P&gt;</description>
      <pubDate>Wed, 31 Dec 2014 07:34:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Best-practices-for-using-the-core-http-api/m-p/7137#M303</guid>
      <dc:creator>yem a.</dc:creator>
      <dc:date>2014-12-31T07:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Best practices for using the core [http] api</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Best-practices-for-using-the-core-http-api/m-p/7138#M304</link>
      <description>&lt;P&gt;It's hard to give much help here, since you haven't actually written the code yet to handle the redirect, but maybe this code will help get you started? &lt;A href="https://github.com/smarx/othw/tree/master/Ruby" rel="nofollow noreferrer"&gt;https://github.com/smarx/othw/tree/master/Ruby&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Dec 2014 08:43:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Best-practices-for-using-the-core-http-api/m-p/7138#M304</guid>
      <dc:creator>Steve M.</dc:creator>
      <dc:date>2014-12-31T08:43:48Z</dc:date>
    </item>
  </channel>
</rss>

