52 working a bit on rp_tracker again.
Thinking about how to best make the client able to run the actions.
I guess the methods should be a POST request. Which would make the url something like
Code:
/api/rp/FMfvIqs/battles/2/action/{actionName}/run
??
The /run feels dodgy though...OH well, its good enough for now, I suppose....
(
The /run feels dodgy as you aren't creating a new /run resource despite POST being normally used for that.
I choose POST because that one is supposed to be neither safe nor idempotent which is defiantly the case here and its the only one which is neither of those.
I guess I can remove the /run, as you are probably creating actions using another url (probably /api/rp/FMfvIqs/actions or something)
)