$newresponse = $basicauth->request( 'GET', 'api/1/curriculum', ['debug' => true], ['headers' => [ 'Authorization' => "Bearer {$acceso->access_token}" ] ] )->getBody()->getContents();