Made the API a bit more robust and standard

Removed the tags from the path and moved them into the payload for POST requests and
into the query string for GET requests.