add post route and specs to pass json to process_payload