Skip to content

Instantly share code, notes, and snippets.

@twesolowski
Created July 28, 2017 07:32
Show Gist options
  • Save twesolowski/c88337cd2d5eef50fe765c6844385265 to your computer and use it in GitHub Desktop.
Save twesolowski/c88337cd2d5eef50fe765c6844385265 to your computer and use it in GitHub Desktop.
Prestashop API ps_method
POST /ps1616/api/manufacturers/1?ps_method=DELETE HTTP/1.1
Host: localhost
Authorization: Basic WFhKQlZZWkQyTkQ1REs1M1NaNlVUWEE3SFk3SFFVOEI6
Content-Type: application/json
Cache-Control: no-cache
Postman-Token: b762ee57-682a-e228-7331-00c863f661d9
POST /ps1616/api/manufacturers/1?ps_method=PUT HTTP/1.1
Host: localhost
Authorization: Basic WFhKQlZZWkQyTkQ1REs1M1NaNlVUWEE3SFk3SFFVOEI6
Content-Type: application/json
Cache-Control: no-cache
Postman-Token: 226955e9-3fe1-6fa5-5155-c8d6d909c384
<?xml version="1.0" encoding="UTF-8"?>
<prestashop xmlns:xlink="http://www.w3.org/1999/xlink">
<manufacturer>
<id>
1
</id>
<name>
<![CDATA[Fashion Manufacturer XXX]]>
</name>
</manufacturer>
</prestashop>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment