3 ms·
POST /access-tokens {“username”: “sam33”, “password”: “hunter42”} Would be fine, but could include more if you were following a spec like JSON API 1.1. I real
by 3pt14159 9y ago
POST /access-tokens
{“username”: “sam33”, “password”: “hunter42”}
Would be fine, but could include more if you were following a spec like JSON API 1.1. I really don’t have any of the problems you seem to have. But I work in a high level programming language, so maybe it’s that? Either way I find RCPs to get messy when they get bigger. Sometimes it’s the right move, but for web apps I generally prefer REST.