Skip to content

Instantly share code, notes, and snippets.

@k0nserv
Last active August 29, 2015 14:10
Show Gist options
  • Select an option

  • Save k0nserv/a5ce5c24d6b79874b2ae to your computer and use it in GitHub Desktop.

Select an option

Save k0nserv/a5ce5c24d6b79874b2ae to your computer and use it in GitHub Desktop.
Accepting invites restfully alternative
POST /teams/1829/members?invite_id=481293 HTTP/1.1
Content-Type: application/json
Host: example.com
Connection: close
Content-Length: 18
{"user_id":214293}
DELETE /invites/481293 HTTP/1.1
Host: example.com
Connection: close
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment