200 OK – Success
201 Created – Resource created
400 Bad Request – Client error
401 Unauthorized – Missing or invalid auth
403 Forbidden – Auth but no access
| alias gs="git status" | |
| alias ga="git add ." | |
| alias gc="git commit -m" | |
| alias gp="git push" |
200 OK – Success
201 Created – Resource created
400 Bad Request – Client error
401 Unauthorized – Missing or invalid auth
403 Forbidden – Auth but no access
| curl -X POST https://api.example.com/v1/test \ | |
| -H "Authorization: Bearer $API_KEY" \ | |
| -H "Content-Type: application/json" \ | |
| -d '{"ping":true}' |
| Email: ^[\w.-]+@[\w.-]+\.\w+$ | |
| UUID: ^[0-9a-fA-F-]{36}$ | |
| IPv4: ^(\d{1,3}\.){3}\d{1,3}$ |