Changed API request to post.