Skip to content

Instantly share code, notes, and snippets.

@auchenberg
Created October 7, 2014 13:47
Show Gist options
  • Save auchenberg/89b04f219583eb9936c8 to your computer and use it in GitHub Desktop.
Save auchenberg/89b04f219583eb9936c8 to your computer and use it in GitHub Desktop.
DOESNT WORK:
POST /api/session HTTP/1.1
Host: dev.g2m.me:8243
Authorization: Basic Y2l0cml4Og==
Cache-Control: no-cache
Postman-Token: 24a359ae-4725-5106-711c-b6334ddcb729
Content-Type: application/x-www-form-urlencoded
WORKS:
POST /api/session HTTP/1.1
Host: dev.g2m.me:8243
Authorization: Basic Y2l0cml4Og==
Cache-Control: no-cache
Postman-Token: 359319c3-e6d3-0221-35dd-b455f6394ce0
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryp7MA4YWxkTrZu0gW
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment