<?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: Creating a group using cURL with REST api in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/creating-a-group-using-curl-with-rest-api/m-p/47585#M18688</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You would have to put -d in front of your JSON Data and put the data in single quotes. I usually declare the content type -H 'Content-Type: application/json' so&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;curl -uadmin:rockstar -H 'Content-Type: application/json' -X PUT -d '{ "newGroup" :.......}' ....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d;"&gt;should do it&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Apr 2018 13:33:39 GMT</pubDate>
    <dc:creator>mehe</dc:creator>
    <dc:date>2018-04-12T13:33:39Z</dc:date>
    <item>
      <title>Creating a group using cURL with REST api</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/creating-a-group-using-curl-with-rest-api/m-p/47584#M18687</link>
      <description>Please I'm new to Alfresco and I tried to create a group using curl on my command line terminal. Here's the code:curl -uadmin:rockstar -X PUT { "newGroup" : ["authorityType" : "GROUP", "shortName" : "COMPUTER_SCIENCE_400LVL", "fullName" : "COMPUTER_SCIENCE_400_LEVEL", "displayName" : "COMPUTER_SCIEN</description>
      <pubDate>Wed, 11 Apr 2018 10:03:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/creating-a-group-using-curl-with-rest-api/m-p/47584#M18687</guid>
      <dc:creator>justind</dc:creator>
      <dc:date>2018-04-11T10:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a group using cURL with REST api</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/creating-a-group-using-curl-with-rest-api/m-p/47585#M18688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You would have to put -d in front of your JSON Data and put the data in single quotes. I usually declare the content type -H 'Content-Type: application/json' so&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;curl -uadmin:rockstar -H 'Content-Type: application/json' -X PUT -d '{ "newGroup" :.......}' ....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d;"&gt;should do it&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2018 13:33:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/creating-a-group-using-curl-with-rest-api/m-p/47585#M18688</guid>
      <dc:creator>mehe</dc:creator>
      <dc:date>2018-04-12T13:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a group using cURL with REST api</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/creating-a-group-using-curl-with-rest-api/m-p/47586#M18689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the late reply, Thanks. This really helped!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 20:38:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/creating-a-group-using-curl-with-rest-api/m-p/47586#M18689</guid>
      <dc:creator>justind</dc:creator>
      <dc:date>2018-04-17T20:38:39Z</dc:date>
    </item>
  </channel>
</rss>

