Skip to content

Instantly share code, notes, and snippets.

@jeggy
Created May 22, 2016 12:19
Show Gist options
  • Save jeggy/9f70263bdd755b4cce683747ca6afcfd to your computer and use it in GitHub Desktop.
Save jeggy/9f70263bdd755b4cce683747ca6afcfd to your computer and use it in GitHub Desktop.
// PUT
PUT /api/todo HTTP/1.1
Host: 194.239.172.19
Authorization: JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NasdfiJ9.eyJ1c2VybmFtZSI6ImplZ2d5IiwicGFzc3dvcmQiOiIkMmEkMTAkNGhLeE1vVEduRzZQNVBjZ2pJU1dpZVo3RHkuOVJuVi8yMFA4N2tQcHA3bktNNDZVeG8yTHEiLCJfaWQiOiI1NzJlNDc0YWNiODkyZjliNzc5Y2Y3YjciLCJfX3YiOjB9.qKeUdL-ch9G6RE_eYaaNvutvXOICSqCabRt4zOTTtcI
Cache-Control: no-cache
Postman-Token: 25361856-b09c-1ff8-d23e-e04c37e61c94
Content-Type: application/x-www-form-urlencoded
id=5738af6f7aa648d916d1be66&archived=true
// DELETE
DELETE /api/todo/5741a3625d75ef5d59e7ba51 HTTP/1.1
Host: 194.239.172.19
Authorization: JWT eyJ0easdfOiJKweafOiJIUzI1NiJ9.eyJ1c2VybmFtZasdfIiwicGFzc3dvcmQiOiIkMdasfmEkMTAkNGhLeE1vVEduRzZQNVBjZ2pJU1dpZVo3RHkuOVJuVi8yMFA4N2tQcHA3bktNNDZVeG8yTHEiLCJfaWQiOiI1NzJlNDc0YWNiODkyZjliNzc5Y2Y3YjciLCJfX3YiOjB9.qKeUdL-ch9G6RE_eYaaNvutvXOICSqCabRt4zOTTtcI
Cache-Control: no-cache
Postman-Token: 6222f0ef-84c1-e96b-0eb3-ee35e058776e
Content-Type: application/x-www-form-urlencoded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment