<?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: VB.Net Business API web service trouble in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/VB-Net-Business-API-web-service-trouble/m-p/72266#M2147</link>
    <description>&lt;P&gt;Well, that was dumb.  You're absolutely correct.  Changing to Authorization: Bearing &amp;lt;id&amp;gt; works properly.  Thanks.  &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Apr 2015 02:53:27 GMT</pubDate>
    <dc:creator>John O.25</dc:creator>
    <dc:date>2015-04-09T02:53:27Z</dc:date>
    <item>
      <title>VB.Net Business API web service trouble</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/VB-Net-Business-API-web-service-trouble/m-p/72264#M2145</link>
      <description>&lt;P&gt;I am just getting started working on some tools to synchronize accounts with dropbox via the Business API, but I am having some trouble getting it working correctly.  I am just simply trying to verify the web services at this point.  I know that I am on the right track because it works as expected with SoapUI, but passing the data this way doesn't work.  I suspect that my problem is that it isn't properly passing the Json blank line, {}, but why not?  Any tips?  For what it is worth, it is shooting back a 400 bad request.  I can reproduce this same problem by not including the {} in SoapUI.  I tested using ChilkatDotNet libraries with the postjson2 method and it works as expected, but I would rather not purchase the library for something that should just work.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    Dim postdata As String = "{}"
    Dim conn As New Net.WebClient
    conn.Headers("Content-Type") = "application/json"
    conn.Headers("authorization") = "bearer &amp;lt;validnumberhere&amp;gt;"
    Dim responseText As String = conn.UploadString("https://api.dropbox.com/1/team/get_info", postdata)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 May 2019 09:43:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/VB-Net-Business-API-web-service-trouble/m-p/72264#M2145</guid>
      <dc:creator>John O.25</dc:creator>
      <dc:date>2019-05-29T09:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: VB.Net Business API web service trouble</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/VB-Net-Business-API-web-service-trouble/m-p/72265#M2146</link>
      <description>&lt;P&gt;What's the actual body of the 400 response? (You may have to catch a &lt;CODE&gt;WebException&lt;/CODE&gt; or the like and then pull out the response from there.) Generally the 400 will tell you the issue.&lt;/P&gt;

&lt;P&gt;I think the issue here &lt;STRONG&gt;may&lt;/STRONG&gt; be the &lt;CODE&gt;Authorization&lt;/CODE&gt; header. You're using a lowercase b in "bearer" instead of the uppercase B in "Bearer".&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2015 02:50:24 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/VB-Net-Business-API-web-service-trouble/m-p/72265#M2146</guid>
      <dc:creator>Steve M.</dc:creator>
      <dc:date>2015-04-09T02:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: VB.Net Business API web service trouble</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/VB-Net-Business-API-web-service-trouble/m-p/72266#M2147</link>
      <description>&lt;P&gt;Well, that was dumb.  You're absolutely correct.  Changing to Authorization: Bearing &amp;lt;id&amp;gt; works properly.  Thanks.  &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2015 02:53:27 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/VB-Net-Business-API-web-service-trouble/m-p/72266#M2147</guid>
      <dc:creator>John O.25</dc:creator>
      <dc:date>2015-04-09T02:53:27Z</dc:date>
    </item>
  </channel>
</rss>

