title: prestashop create and update resources via url webservice api
body: <p>I (unfortunately) have to write a client application as front end to a prestashop powered web site. I'd need to perform all CRUD operations on resources via url webservice and I'm stuck on create and update. I was very surprise to find out how few examples are available on the web since prestashop is supposed to be a widely used cms. However, till now I came to:</p>
  
  <pre><code>GET http://www.myshop.com/api/myresource/id
  </code></pre>
  
  <p>to get xml for resource with given id or</p>
  
  <pre><code>GET http://www.myshop.com/api/myresource/?display=full&amp;filter[field]=[value]
  </code></pre>
  
  <p>to filter results. I'm writing this just because I had to struggle with google to achieve this information, this filters stuff might help somebody in the future.</p>
  
  <pre><code>DELETE http://www.myshop.com/api/myresource/id
  </code></pre>
  
  <p>to delete a resource (I suppose filters work here too, but didn't try so far)</p>
  
  <p>now, does somebody know how create and update resources? I tried </p>
  
  <pre><code>POST/PUT http://www.myshop.com/api/myresource/
  </code></pre>
  
  <p>giving couples of field - value in http request parameters with no luck, I'm getting internal server error. No, I have no direct access to the server so I don't know what error is thrown and I hope it can be solved without bother website maintainers, I'd like to save my ammunitions.</p>
  
  <p>The only useful resource I found on the web is <a href="http://doc.prestashop.com/download/attachments/720902/CRUD%20Tutorial%20EN.pdf" rel="nofollow">this one</a>, I also looked among other question on SO and suggested links in those question was of no help.</p>