Make it possible for ApiTask subclasses to override the HTTP method

Change-Id: Id562dc1fbd488ec811abb68f9a76a58590dabb10