REST - martincarrera/clash-royale-api GitHub Wiki

HTTP Methods

  • GET: Get one or more resources.
  • POST: Create resource.
  • PUT: Update resource.
  • DELETE: Remove resource.

HTTP Success Status Codes

  • 200: Resource founded (GET).
  • 201: Resource created (POST).
  • 200: Resource updated (PUT).
  • 204: Resource removed (DELETE).

HTTP Error Status Codes

  • 401: User unauthenticated.
  • 403: User unauthorized.
  • 404: Resource not found.
  • 500: Internal server error.