
-
    request:
        method: GET
        url: 'https://sandbox.boletosimples.com.br/api/v1/customers/1411'
        headers:
            Host: sandbox.boletosimples.com.br
            Accept-Encoding: null
            Content-Type: application/json
            User-Agent: 'BoletoSimples PHP Client v0.0.8 (contato@boletosimples.com.br)'
            Authorization: 'Bearer BOLETOSIMPLES_ACCESS_TOKEN'
            Accept: null
    response:
        status:
            http_version: '1.1'
            code: '200'
            message: OK
        headers:
            Connection: keep-alive
            Content-Type: 'application/json; charset=utf-8'
            Transfer-Encoding: chunked
            Status: '200 OK'
            Cache-Control: 'must-revalidate, private, max-age=0'
            X-Ratelimit-Limit: '500'
            Date: 'Mon, 26 Dec 2016 20:14:23 GMT'
            Strict-Transport-Security: max-age=631138519
            X-Ratelimit-Remaining: '492'
            Vary: 'Origin,Accept-Encoding'
            X-Permitted-Cross-Domain-Policies: none
            X-Xss-Protection: '1; mode=block'
            X-Request-Id: b03bf260-5eaa-42e7-b0c4-2cace3648f4c
            Content-Security-Policy-Report-Only: 'default-src ''self''; child-src ''self'' www.googleadservices.com googleads.g.doubleclick.net www.google.com; connect-src ws: wss: *.intercom.io ws.pusherapp.com hn.inspectlet.com stats.pusher.com; font-src ''self'' fonts.googleapis.com fonts.gstatic.com data:; img-src ''self'' https: data:; script-src ''self'' static.intercomcdn.com cdn.inspectlet.com widget.intercom.io js.intercomcdn.com js.pusher.com stats.pusher.com zapier.com www.google-analytics.com www.googleadservices.com doug1izaerwt3.cloudfront.net app.popupdomination.com cdn.ywxi.net www.draw.io; style-src ''self'' fonts.googleapis.com; report-uri https://boletosimples.report-uri.io/r/default/csp/reportOnly'
            Location: 'https://sandbox.boletosimples.com.br/api/v1/customers/1411'
            X-Download-Options: noopen
            Etag: 'W/"449ac767cbb062196488cac5a3b396fd"'
            X-Runtime: '0.035910'
            X-Frame-Options: sameorigin
            X-Content-Type-Options: nosniff
            X-Rack-Cache: miss
            X-Powered-By: 'Phusion Passenger 5.1.0'
            Server: 'nginx/1.10.2 + Phusion Passenger 5.1.0'
            Via: '1.1 vegur'
        body: '{"id":1411,"city_name":"Rio de Janeiro","person_name":"Joao da Silva","address":"Rua quinhentos","address_complement":"Sala 4","address_number":"111","mobile_number":null,"cnpj_cpf":"732.327.384-60","email":"cliente@example.com","neighborhood":"bairro","person_type":"individual","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null}'
-
    request:
        method: POST
        url: 'https://sandbox.boletosimples.com.br/api/v1/customers/1411'
        headers:
            Host: sandbox.boletosimples.com.br
            Expect: null
            Accept-Encoding: null
            Content-Type: application/json
            User-Agent: 'BoletoSimples PHP Client v0.0.8 (contato@boletosimples.com.br)'
            Authorization: 'Bearer BOLETOSIMPLES_ACCESS_TOKEN'
            Accept: null
        body: '{"customer":{"id":1411,"city_name":"Rio de Janeiro","person_name":"Joao da Costa","address":"Rua quinhentos","address_complement":"Sala 4","address_number":"111","mobile_number":null,"cnpj_cpf":"732.327.384-60","email":"cliente@example.com","neighborhood":"bairro","person_type":"individual","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null}}'
    response:
        status:
            http_version: '1.1'
            code: '404'
            message: 'Not Found'
        headers:
            Connection: keep-alive
            Content-Type: 'text/html; charset=utf-8'
            Content-Length: '2522'
            Status: '404 Not Found'
            Date: 'Mon, 26 Dec 2016 20:14:23 GMT'
            Vary: 'Origin,Accept-Encoding'
            Strict-Transport-Security: max-age=631138519
            X-Permitted-Cross-Domain-Policies: none
            X-Xss-Protection: '1; mode=block'
            X-Request-Id: 01d698ac-5980-460e-b886-eefef75347da
            Content-Security-Policy-Report-Only: 'default-src ''self''; child-src ''self'' www.googleadservices.com googleads.g.doubleclick.net www.google.com; connect-src ws: wss: *.intercom.io ws.pusherapp.com hn.inspectlet.com stats.pusher.com; font-src ''self'' fonts.googleapis.com fonts.gstatic.com data:; img-src ''self'' https: data:; script-src ''self'' static.intercomcdn.com cdn.inspectlet.com widget.intercom.io js.intercomcdn.com js.pusher.com stats.pusher.com zapier.com www.google-analytics.com www.googleadservices.com doug1izaerwt3.cloudfront.net app.popupdomination.com cdn.ywxi.net www.draw.io; style-src ''self'' fonts.googleapis.com; report-uri https://boletosimples.report-uri.io/r/default/csp/reportOnly'
            X-Download-Options: noopen
            X-Runtime: '0.009059'
            X-Frame-Options: sameorigin
            X-Content-Type-Options: nosniff
            X-Rack-Cache: 'invalidate, pass'
            X-Powered-By: 'Phusion Passenger 5.1.0'
            Server: 'nginx/1.10.2 + Phusion Passenger 5.1.0'
            Via: '1.1 vegur'
        body: "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"pt\">\n<head>\n    <meta http-equiv=\"content-type\" content=\"text/html;charset=utf-8\"/>\n    <link rel=\"SHORTCUT ICON\" href=\"favicon.ico\"/>\n    <style type=\"text/css\" media=\"all\"><!--\n    body {\n        margin: 0;\n        padding: 10px;\n        line-height: 1em;\n        background: #fff;\n        color: #666;\n        font-size: 10px;\n        font-family: Helvetica, Arial, sans-serif;\n    }\n\n    p {\n        font-size: 1.4em;\n        line-height: 1.4em;\n        margin-top: 0;\n        margin-right: 0;\n        padding-top: 0;\n        padding-right: 0;\n        padding-left: 0;\n        border: solid 0 #f00;\n    }\n\n    .dialog {\n        background: #F5F7F7;\n        border-radius: 5px;\n        border-bottom: solid 3px #0099FF;\n        margin: 6em auto;\n        width: 500px;\n    }\n\n    .dialog .foot {\n        background: #2C3E50;\n        color: #fff;\n        border-top: solid 1px #838383;\n        border-radius: 0 0 5px 5px;\n    }\n\n    --></style>\n    <title>Boleto Simples: Página não encontrada</title>\n</head>\n<body>\n<div class=\"dialog\">\n\n    <div style=\"padding: 20px\" class=\"content\">\n\n        <p>\n            <img src=\"https://boletosimples.s3.amazonaws.com/maintenance/logo.png\"\n                 alt=\"Boleto Simples - https://boletosimples.com.br\" width=\"229\" height=\"39\"\n                 style=\"margin-top: 2em\"/>\n        </p>\n\n\n        <p style=\"margin-bottom: 3em;\"><strong>WOW! Página Não Encontrada (Erro 404) :-(</strong></p>\n\n        <p>A página requisitada não existe.</p>\n\n        <p>Você pode ter usado um endereço antigo, ou ter digitado incorretamente na <strong>Barra de Endereço</strong> do seu\n            programa.</p>\n\n        <p>Por favor, verifique o endereço digitado ou tente <a href=\"https://boletosimples.com.br/\">nosso site</a></p>\n\n        <p>Caso você esteja certo do endereço e este erro insista em aparecer, fique à vontade para nos <a\n                href=\"http://suporte.boletosimples.com.br/\">avisar pelo suporte</a>.</p>\n\n        <p>Desejando a sua compreensão,<br/>\n            <strong>Equipe do Boleto Simples</strong></p>\n\n    </div>\n\n    <div style='margin-top: 3em; padding: 20px' class=\"foot\">\n\n        <p style=\"margin: 0;\">Copyright© <a href=\"http://boletosimples.com.br\"\n         style=\"color: cornflowerblue; text-decoration: none\">Boleto Simples</a>.    </p>\n\n    </div>\n\n</div>\n</body>\n\n</html>\n"
