1,068
edits
(Created page with "Afaik having a in the beginning of the URI is used for parametres that affects the whole system, e.g. 'en' for languages So instead of GET /[nodeID]/card/ It's better to have...") |
No edit summary |
||
Line 7: | Line 7: | ||
[card to be added],[card added by] | [card to be added],[card added by] | ||
These are not key value pairs, as you'd need to have '[card to be added]=[card added by]' | These are not key value pairs, as you'd need to have '[card to be added]=[card added by]' | ||
Also you are adding a card, that should really be a PUT request. | |||
PUT /[nodeID]/status/ | |||
This isn't creating a status, it's updating it so should really be "post" |