{"action":"created","issue":{"url":"https://api.github.com/repos/DeveloperCielo/Checkout-Cielo/issues/3","labels_url":"https://api.github.com/repos/DeveloperCielo/Checkout-Cielo/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/DeveloperCielo/Checkout-Cielo/issues/3/comments","events_url":"https://api.github.com/repos/DeveloperCielo/Checkout-Cielo/issues/3/events","html_url":"https://github.com/DeveloperCielo/Checkout-Cielo/issues/3","id":98590571,"number":3,"title":"Exemplo PHP | Usar httpful ao invés de curl","user":{"login":"drupalista-br","id":853250,"avatar_url":"https://avatars.githubusercontent.com/u/853250?v=3","gravatar_id":"","url":"https://api.github.com/users/drupalista-br","html_url":"https://github.com/drupalista-br","followers_url":"https://api.github.com/users/drupalista-br/followers","following_url":"https://api.github.com/users/drupalista-br/following{/other_user}","gists_url":"https://api.github.com/users/drupalista-br/gists{/gist_id}","starred_url":"https://api.github.com/users/drupalista-br/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drupalista-br/subscriptions","organizations_url":"https://api.github.com/users/drupalista-br/orgs","repos_url":"https://api.github.com/users/drupalista-br/repos","events_url":"https://api.github.com/users/drupalista-br/events{/privacy}","received_events_url":"https://api.github.com/users/drupalista-br/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-02T07:19:13Z","updated_at":"2015-08-03T21:18:34Z","closed_at":"2015-08-03T21:18:34Z","body":"Já tive muita dor de cabeça com o curl no passado. Uma solução mais simples de usar e que não me causa transtornos é o [httpful](https://github.com/nategood/httpful).\r\n\r\nEu escrevei uma biblioteca que implementa o exemplo do manual da Cielo em https://github.com/drupalista-br/CheckoutCielo-Library\r\n\r\nDê uma olhada no método `request_new_transaction()`  em https://github.com/drupalista-br/CheckoutCielo-Library/blob/2.x-dev/src/Checkout/Transaction.php e note o quanto é mais simples o uso do httpful.\r\n"},"comment":{"url":"https://api.github.com/repos/DeveloperCielo/Checkout-Cielo/issues/comments/127408606","html_url":"https://github.com/DeveloperCielo/Checkout-Cielo/issues/3#issuecomment-127408606","issue_url":"https://api.github.com/repos/DeveloperCielo/Checkout-Cielo/issues/3","id":127408606,"user":{"login":"drupalista-br","id":853250,"avatar_url":"https://avatars.githubusercontent.com/u/853250?v=3","gravatar_id":"","url":"https://api.github.com/users/drupalista-br","html_url":"https://github.com/drupalista-br","followers_url":"https://api.github.com/users/drupalista-br/followers","following_url":"https://api.github.com/users/drupalista-br/following{/other_user}","gists_url":"https://api.github.com/users/drupalista-br/gists{/gist_id}","starred_url":"https://api.github.com/users/drupalista-br/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drupalista-br/subscriptions","organizations_url":"https://api.github.com/users/drupalista-br/orgs","repos_url":"https://api.github.com/users/drupalista-br/repos","events_url":"https://api.github.com/users/drupalista-br/events{/privacy}","received_events_url":"https://api.github.com/users/drupalista-br/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T21:18:34Z","updated_at":"2015-08-03T21:18:34Z","body":"Maravilha,\r\n\r\nEu aceite o Join Request e quando eu fizer novos commits no meu repositório, autorizarei também os Pull Requests no seu fork.\r\n\r\nAbraço."}}