Rename HTTP API request methods and add simple tests for all of them.