<?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: Login POST JSON Error in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/login-post-json-error/m-p/301128#M254258</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I registered with this forum just to say Thanks to you. The suggestion of placing content-type application/json saved the day for me.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 May 2015 14:32:55 GMT</pubDate>
    <dc:creator>sandeepthukral</dc:creator>
    <dc:date>2015-05-13T14:32:55Z</dc:date>
    <item>
      <title>Login POST JSON Error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/login-post-json-error/m-p/301125#M254255</link>
      <description>All,I'm new to Alfresco trying to learn the API. I'm trying to do what I thought should be a straight-forward command. I'm using CURL to send my commands to Alfresco. My CURL command is:c:\&amp;gt; curl -X POST -d @login.json "http://192.168.0.151:8080/alfresco/service/api/login"My JSON file is this: {"</description>
      <pubDate>Wed, 17 Apr 2013 20:12:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/login-post-json-error/m-p/301125#M254255</guid>
      <dc:creator>rmsiegel</dc:creator>
      <dc:date>2013-04-17T20:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Login POST JSON Error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/login-post-json-error/m-p/301126#M254256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think it is GET not POST webscript.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2013 11:34:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/login-post-json-error/m-p/301126#M254256</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2013-04-19T11:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Login POST JSON Error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/login-post-json-error/m-p/301127#M254257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The problem here is that you have to add the content type to your request. Like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;curl -X POST "&lt;A href="http://localhost:8080/alfresco/service/api/login" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/api/login&lt;/A&gt;" -d "{'username':'admin','password':'admin'}" -H "Content-Type: application/json&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 09:40:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/login-post-json-error/m-p/301127#M254257</guid>
      <dc:creator>koopa</dc:creator>
      <dc:date>2014-07-09T09:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Login POST JSON Error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/login-post-json-error/m-p/301128#M254258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I registered with this forum just to say Thanks to you. The suggestion of placing content-type application/json saved the day for me.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 14:32:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/login-post-json-error/m-p/301128#M254258</guid>
      <dc:creator>sandeepthukral</dc:creator>
      <dc:date>2015-05-13T14:32:55Z</dc:date>
    </item>
  </channel>
</rss>

