<?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 Help me convert Postman to PHP CURL in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/help-me-convert-postman-to-php-curl/m-p/45646#M18327</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tried&amp;nbsp;so much codes found on the internet but can't get it to work. Maybe due to different Alfresco version or PHP version, I don't know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I &lt;STRONG&gt;successfully&lt;/STRONG&gt; upload new file through &lt;STRONG&gt;POSTMAN&lt;/STRONG&gt;. Now I want to upload file using &lt;STRONG&gt;Dropzone.js&lt;/STRONG&gt; and pass it to &lt;STRONG&gt;PHP&lt;/STRONG&gt; file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's my POSTMAN:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://imgur.com/U8b5r0Y.png" style="width: 100%;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When uploading using Dropzone.js, the PHP file receive the file through $_FILES. Here's the var_dump($_FILES):&lt;/P&gt;&lt;DIV class="php" style="font-family: monospace; color: #006; border: 1px solid #d0d0d0; background-color: #f0f0f0;"&gt;&lt;A href="http://www.php.net/array" style="color: #000060;" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #990000;"&gt;array&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #cc66cc;"&gt;5&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #009900;"&gt;{&lt;/SPAN&gt;&lt;BR /&gt; &amp;nbsp; &lt;SPAN style="color: #009900;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;"name"&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;]&lt;/SPAN&gt; &lt;SPAN style="color: #339933;"&gt;=&amp;gt;&lt;/SPAN&gt; string&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #cc66cc;"&gt;12&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;"contacts.csv"&lt;/SPAN&gt;&lt;BR /&gt; &amp;nbsp; &lt;SPAN style="color: #009900;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;"type"&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;]&lt;/SPAN&gt; &lt;SPAN style="color: #339933;"&gt;=&amp;gt;&lt;/SPAN&gt; string&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #cc66cc;"&gt;24&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;"application/vnd.ms-excel"&lt;/SPAN&gt;&lt;BR /&gt; &amp;nbsp; &lt;SPAN style="color: #009900;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;"tmp_name"&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;]&lt;/SPAN&gt; &lt;SPAN style="color: #339933;"&gt;=&amp;gt;&lt;/SPAN&gt; string&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #cc66cc;"&gt;14&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;"/tmp/phpGJagTg"&lt;/SPAN&gt;&lt;BR /&gt; &amp;nbsp; &lt;SPAN style="color: #009900;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;"error"&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;]&lt;/SPAN&gt; &lt;SPAN style="color: #339933;"&gt;=&amp;gt;&lt;/SPAN&gt; int&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #cc66cc;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;BR /&gt; &amp;nbsp; &lt;SPAN style="color: #009900;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;"size"&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;]&lt;/SPAN&gt; &lt;SPAN style="color: #339933;"&gt;=&amp;gt;&lt;/SPAN&gt; int&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #cc66cc;"&gt;2767&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #009900;"&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here're two of my latest codes that are not working:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CODE 1:&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV class="php" style="font-family: monospace; color: #006; border: 1px solid #d0d0d0; background-color: #f0f0f0;"&gt;&lt;SPAN style="color: #000088;"&gt;$data&lt;/SPAN&gt; &lt;SPAN style="color: #339933;"&gt;=&lt;/SPAN&gt; &lt;A href="http://www.php.net/http_build_query" style="color: #000060;" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #990000;"&gt;http_build_query&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;A href="http://www.php.net/array" style="color: #000060;" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #990000;"&gt;array&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;"filedata"&lt;/SPAN&gt; &lt;SPAN style="color: #339933;"&gt;=&amp;gt;&lt;/SPAN&gt; &lt;SPAN style="color: #000088;"&gt;$_FILES&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;"file"&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;"tmp_name"&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;"destination"&lt;/SPAN&gt; &lt;SPAN style="color: #339933;"&gt;=&amp;gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;"workspace://SpacesStore/&lt;SPAN style="color: #006699; font-weight: bold;"&gt;$myNodeRef&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;"uploadDirectory"&lt;/SPAN&gt; &lt;SPAN style="color: #339933;"&gt;=&amp;gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;"p"&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;"description"&lt;/SPAN&gt; &lt;SPAN style="color: #339933;"&gt;=&amp;gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;""&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;"contenttype"&lt;/SPAN&gt; &lt;SPAN style="color: #339933;"&gt;=&amp;gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;"cm:content"&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;"overwrite"&lt;/SPAN&gt; &lt;SPAN style="color: #339933;"&gt;=&amp;gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;"true"&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;"thumbnails"&lt;/SPAN&gt; &lt;SPAN style="color: #339933;"&gt;=&amp;gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;"doclib"&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="color: #000088;"&gt;$ch&lt;/SPAN&gt; &lt;SPAN style="color: #339933;"&gt;=&lt;/SPAN&gt; &lt;A href="http://www.php.net/curl_init" style="color: #000060;" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #990000;"&gt;curl_init&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt; &lt;A href="http://www.php.net/curl_setopt" style="color: #000060;" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #990000;"&gt;curl_setopt&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000088;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt; CURLOPT_URL&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;"&lt;SPAN style="color: #006699; font-weight: bold;"&gt;$alfrescoUrl&lt;/SPAN&gt;/alfresco/service/api/upload?alf_ticket=&lt;SPAN style="color: #006699; font-weight: bold;"&gt;$ticket&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt; &lt;A href="http://www.php.net/curl_setopt" style="color: #000060;" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #990000;"&gt;curl_setopt&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000088;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt; CURLOPT_RETURNTRANSFER&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #cc66cc;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt; &lt;A href="http://www.php.net/curl_setopt" style="color: #000060;" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #990000;"&gt;curl_setopt&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000088;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt; CURLOPT_POST&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #cc66cc;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt; &lt;A href="http://www.php.net/curl_setopt" style="color: #000060;" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #990000;"&gt;curl_setopt&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000088;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt; CURLOPT_POSTFIELDS&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #000088;"&gt;$data&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #000088;"&gt;$result&lt;/SPAN&gt; &lt;SPAN style="color: #339933;"&gt;=&lt;/SPAN&gt; &lt;A href="http://www.php.net/json_decode" style="color: #000060;" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #990000;"&gt;json_decode&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;A href="http://www.php.net/curl_exec" style="color: #000060;" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #990000;"&gt;curl_exec&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000088;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #009900; font-weight: bold;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #b1b100;"&gt;echo&lt;/SPAN&gt; &lt;A href="http://www.php.net/var_dump" style="color: #000060;" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #990000;"&gt;var_dump&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000088;"&gt;$result&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CODE 2&lt;/STRONG&gt;&lt;STRONG&gt;:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Note that&amp;nbsp;&lt;SPAN style="font-weight: 400;"&gt;dropzone.css is located on same folder as the php file which received the upload.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="php" style="font-family: monospace; color: #006; border: 1px solid #d0d0d0; background-color: #f0f0f0;"&gt;&lt;SPAN style="color: #000088;"&gt;$data&lt;/SPAN&gt; &lt;SPAN style="color: #339933;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;"&lt;BR /&gt; &amp;nbsp; filedata=dropzone.css&lt;BR /&gt; &amp;nbsp; &amp;amp;destination=workspace://SpacesStore/&lt;SPAN style="color: #006699; font-weight: bold;"&gt;$myNodeRef&lt;/SPAN&gt;&lt;BR /&gt; &amp;nbsp; &amp;amp;uploadDirectory=p&lt;BR /&gt; &amp;nbsp; &amp;amp;description=&lt;BR /&gt; &amp;nbsp; &amp;amp;contenttype=cm:content&lt;BR /&gt; &amp;nbsp; &amp;amp;overwrite=true&lt;BR /&gt; &amp;nbsp; &amp;amp;thumbnails=doclib&lt;BR /&gt; "&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="color: #000088;"&gt;$ch&lt;/SPAN&gt; &lt;SPAN style="color: #339933;"&gt;=&lt;/SPAN&gt; &lt;A href="http://www.php.net/curl_init" style="color: #000060;" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #990000;"&gt;curl_init&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt; &lt;A href="http://www.php.net/curl_setopt" style="color: #000060;" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #990000;"&gt;curl_setopt&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000088;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt; CURLOPT_URL&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;"&lt;SPAN style="color: #006699; font-weight: bold;"&gt;$alfrescoUrl&lt;/SPAN&gt;/alfresco/service/api/upload?alf_ticket=&lt;SPAN style="color: #006699; font-weight: bold;"&gt;$ticket&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt; &lt;A href="http://www.php.net/curl_setopt" style="color: #000060;" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #990000;"&gt;curl_setopt&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000088;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt; CURLOPT_RETURNTRANSFER&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #cc66cc;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt; &lt;A href="http://www.php.net/curl_setopt" style="color: #000060;" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #990000;"&gt;curl_setopt&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000088;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt; CURLOPT_POST&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #cc66cc;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt; &lt;A href="http://www.php.net/curl_setopt" style="color: #000060;" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #990000;"&gt;curl_setopt&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000088;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt; CURLOPT_POSTFIELDS&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #000088;"&gt;$data&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #000088;"&gt;$result&lt;/SPAN&gt; &lt;SPAN style="color: #339933;"&gt;=&lt;/SPAN&gt; &lt;A href="http://www.php.net/json_decode" style="color: #000060;" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #990000;"&gt;json_decode&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;A href="http://www.php.net/curl_exec" style="color: #000060;" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #990000;"&gt;curl_exec&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000088;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #009900; font-weight: bold;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #b1b100;"&gt;echo&lt;/SPAN&gt; &lt;A href="http://www.php.net/var_dump" style="color: #000060;" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #990000;"&gt;var_dump&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000088;"&gt;$result&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Apr 2018 12:00:25 GMT</pubDate>
    <dc:creator>coisox</dc:creator>
    <dc:date>2018-04-09T12:00:25Z</dc:date>
    <item>
      <title>Help me convert Postman to PHP CURL</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/help-me-convert-postman-to-php-curl/m-p/45646#M18327</link>
      <description>I've tried&amp;nbsp;so much codes found on the internet but can't get it to work. Maybe due to different Alfresco version or PHP version, I don't know.I successfully upload new file through POSTMAN. Now I want to upload file using Dropzone.js and pass it to PHP file.Here's my POSTMAN:When uploading using Dro</description>
      <pubDate>Mon, 09 Apr 2018 12:00:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/help-me-convert-postman-to-php-curl/m-p/45646#M18327</guid>
      <dc:creator>coisox</dc:creator>
      <dc:date>2018-04-09T12:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help me convert Postman to PHP CURL</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/help-me-convert-postman-to-php-curl/m-p/45647#M18328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't use PHP anymore, but when using curl in bash scripts, I have to use a '@' as prefix for the filepath to let curl know that filedata is a filename and not the content of the file.&lt;/P&gt;&lt;P&gt;Have you tried (for example) filedata=@dropzone.css or "filedata"=&amp;gt;"@" . $_FILES... ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2018 12:31:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/help-me-convert-postman-to-php-curl/m-p/45647#M18328</guid>
      <dc:creator>mehe</dc:creator>
      <dc:date>2018-04-09T12:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help me convert Postman to PHP CURL</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/help-me-convert-postman-to-php-curl/m-p/45648#M18329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tried these two as your suggestion but fail:&lt;BR /&gt;&lt;SPAN&gt;$data = http_build_query(array(&lt;/SPAN&gt;&lt;SPAN&gt;'filedata' =&amp;gt; "@"."dropzone.css", ...));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$data = array(&lt;/SPAN&gt;&lt;SPAN&gt;'filedata' =&amp;gt; "@"."dropzone.css", ...);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Got this error:&lt;BR /&gt;An error inside the HTTP server which prevented it from fulfilling the request&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2018 12:58:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/help-me-convert-postman-to-php-curl/m-p/45648#M18329</guid>
      <dc:creator>coisox</dc:creator>
      <dc:date>2018-04-09T12:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: Help me convert Postman to PHP CURL</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/help-me-convert-postman-to-php-curl/m-p/45649#M18330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you seen this old thread:&amp;nbsp;&lt;A __default_attr="205193" __jive_macro_name="thread" _jive_internal="true" class="jive_macro_thread jive_macro link-titled" href="https://community.alfresco.com/thread/205193-php-code-to-upload-a-file-to-alfresco-document-library" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2018 13:35:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/help-me-convert-postman-to-php-curl/m-p/45649#M18330</guid>
      <dc:creator>mehe</dc:creator>
      <dc:date>2018-04-09T13:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Help me convert Postman to PHP CURL</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/help-me-convert-postman-to-php-curl/m-p/45650#M18331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. i have look at it. H&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;is $_FILES is same as me but his approach seems totally different. He include "&lt;SPAN&gt;Alfresco/Service/xxx&lt;/SPAN&gt;" library which I didn't. I successfully login and create new folder without "&lt;SPAN&gt;Alfresco/Service/xxx&lt;/SPAN&gt;". I'm trying to do this:&lt;BR /&gt;&lt;A class="link-titled" href="https://docs.alfresco.com/5.0/references/RESTful-UploadUploadPost.html" title="https://docs.alfresco.com/5.0/references/RESTful-UploadUploadPost.html" rel="nofollow noopener noreferrer"&gt;File upload | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;Which didn't suggest me to use &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Alfresco/Service/xxx&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2018 23:29:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/help-me-convert-postman-to-php-curl/m-p/45650#M18331</guid>
      <dc:creator>coisox</dc:creator>
      <dc:date>2018-04-09T23:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Help me convert Postman to PHP CURL</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/help-me-convert-postman-to-php-curl/m-p/45651#M18332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know whats happening when all replies gone missing (Can I even delete replied message?). Anyway, I found the solution after being lead by your URL suggestion. I thank you for all your help &lt;B&gt;Martin Ehe&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the final code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="php" style="font-family: monospace; color: #006; border: 1px solid #d0d0d0; background-color: #f0f0f0;"&gt;&lt;SPAN style="color: #000088;"&gt;$cfile&lt;/SPAN&gt; &lt;SPAN style="color: #339933;"&gt;=&lt;/SPAN&gt; curl_file_create&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;BR /&gt; &amp;nbsp; &lt;SPAN style="color: #000088;"&gt;$_FILES&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;"file"&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;"tmp_name"&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt;&lt;BR /&gt; &amp;nbsp; &lt;SPAN style="color: #000088;"&gt;$_FILES&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;"file"&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;"type"&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt;&lt;BR /&gt; &amp;nbsp; &lt;SPAN style="color: #000088;"&gt;$_FILES&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;"file"&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;"name"&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;]&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="color: #000088;"&gt;$data&lt;/SPAN&gt; &lt;SPAN style="color: #339933;"&gt;=&lt;/SPAN&gt; &lt;A href="http://www.php.net/array" style="color: #000060;" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #990000;"&gt;array&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;BR /&gt; &amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;"filedata"&lt;/SPAN&gt; &lt;SPAN style="color: #339933;"&gt;=&amp;gt;&lt;/SPAN&gt; &lt;SPAN style="color: #000088;"&gt;$cfile&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt;&lt;BR /&gt; &amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;"destination"&lt;/SPAN&gt; &lt;SPAN style="color: #339933;"&gt;=&amp;gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;"workspace://SpacesStore/&lt;SPAN style="color: #006699; font-weight: bold;"&gt;$myNodeRef&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt;&lt;BR /&gt; &amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;"uploadDirectory"&lt;/SPAN&gt; &lt;SPAN style="color: #339933;"&gt;=&amp;gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;"subfolder"&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt;&lt;BR /&gt; &amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;"description"&lt;/SPAN&gt; &lt;SPAN style="color: #339933;"&gt;=&amp;gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;""&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt;&lt;BR /&gt; &amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;"contenttype"&lt;/SPAN&gt; &lt;SPAN style="color: #339933;"&gt;=&amp;gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;"cm:content"&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt;&lt;BR /&gt; &amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;"overwrite"&lt;/SPAN&gt; &lt;SPAN style="color: #339933;"&gt;=&amp;gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;"true"&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt;&lt;BR /&gt; &amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;"thumbnails"&lt;/SPAN&gt; &lt;SPAN style="color: #339933;"&gt;=&amp;gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;"doclib"&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="color: #000088;"&gt;$ch&lt;/SPAN&gt; &lt;SPAN style="color: #339933;"&gt;=&lt;/SPAN&gt; &lt;A href="http://www.php.net/curl_init" style="color: #000060;" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #990000;"&gt;curl_init&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt; &lt;A href="http://www.php.net/curl_setopt" style="color: #000060;" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #990000;"&gt;curl_setopt&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000088;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt; CURLOPT_URL&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;"&lt;SPAN style="color: #006699; font-weight: bold;"&gt;$myAlfrescoUrl&lt;/SPAN&gt;/alfresco/service/api/upload?alf_ticket=&lt;SPAN style="color: #006699; font-weight: bold;"&gt;$myTicket&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt; &lt;A href="http://www.php.net/curl_setopt" style="color: #000060;" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #990000;"&gt;curl_setopt&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000088;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt; CURLOPT_HTTPHEADER&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt; &lt;A href="http://www.php.net/array" style="color: #000060;" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #990000;"&gt;array&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;"Content-Type: multipart/form-data"&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt; &lt;A href="http://www.php.net/curl_setopt" style="color: #000060;" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #990000;"&gt;curl_setopt&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000088;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt; CURLOPT_RETURNTRANSFER&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #009900; font-weight: bold;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;;&lt;/SPAN&gt; &lt;BR /&gt; &lt;A href="http://www.php.net/curl_setopt" style="color: #000060;" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #990000;"&gt;curl_setopt&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000088;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt; CURLOPT_POST&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #009900; font-weight: bold;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt; &lt;A href="http://www.php.net/curl_setopt" style="color: #000060;" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #990000;"&gt;curl_setopt&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000088;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt; CURLOPT_POSTFIELDS&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #000088;"&gt;$data&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #000088;"&gt;$result&lt;/SPAN&gt; &lt;SPAN style="color: #339933;"&gt;=&lt;/SPAN&gt; &lt;A href="http://www.php.net/json_decode" style="color: #000060;" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #990000;"&gt;json_decode&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;A href="http://www.php.net/curl_exec" style="color: #000060;" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #990000;"&gt;curl_exec&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000088;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #009900; font-weight: bold;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt; &lt;A href="http://www.php.net/curl_close" style="color: #000060;" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #990000;"&gt;curl_close&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000088;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="color: #b1b100;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000088;"&gt;$result&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;"nodeRef"&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: #009900;"&gt;{&lt;/SPAN&gt;&lt;BR /&gt; &amp;nbsp; &lt;SPAN style="color: #b1b100;"&gt;echo&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;"&lt;SPAN style="color: #000099; font-weight: bold;"&gt;\n&lt;/SPAN&gt;&lt;SPAN style="color: #000099; font-weight: bold;"&gt;\n&lt;/SPAN&gt;Upload success. NodeRef: "&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #000088;"&gt;$result&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;"nodeRef"&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #009900;"&gt;}&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #b1b100;"&gt;else&lt;/SPAN&gt; &lt;SPAN style="color: #009900;"&gt;{&lt;/SPAN&gt;&lt;BR /&gt; &amp;nbsp; &lt;SPAN style="color: #b1b100;"&gt;echo&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;"&lt;SPAN style="color: #000099; font-weight: bold;"&gt;\n&lt;/SPAN&gt;&lt;SPAN style="color: #000099; font-weight: bold;"&gt;\n&lt;/SPAN&gt;Upload error: "&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #000088;"&gt;$result&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;"message"&lt;/SPAN&gt;&lt;SPAN style="color: #009900;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="color: #339933;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #009900;"&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2018 01:55:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/help-me-convert-postman-to-php-curl/m-p/45651#M18332</guid>
      <dc:creator>coisox</dc:creator>
      <dc:date>2018-04-10T01:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Help me convert Postman to PHP CURL</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/help-me-convert-postman-to-php-curl/m-p/45652#M18333</link>
      <description>&lt;P&gt;could you pls send the whole code for this?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2019 07:23:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/help-me-convert-postman-to-php-curl/m-p/45652#M18333</guid>
      <dc:creator>ni0ni0s</dc:creator>
      <dc:date>2019-10-30T07:23:38Z</dc:date>
    </item>
  </channel>
</rss>

