[master] Fix http methods for api