API Allow post body as file upload

* Changes to support accept a post body as a file being uploaded
* Accept key/value pairs in the URL as param/value arguments