POST json to endpoint instead of a POST vars