login(); $res = $api->delete('profile/31'); print_r(json_decode($res)); //this is the expected response //stdClass Object //( // [status] => 200 //)