public function post($path, array $data = null) { return $this->request($path, $data, 'post'); }
public function testHttpPostMethodSet() { $api = new Api('*****@*****.**', 'Auth Key'); $result = $api->post('test'); $this->assertEquals("post", $result['method']); }