Change POST for GET methods in API get method