
-
    request:
        method: POST
        url: 'https://api.imgur.com/oauth2/token'
        headers:
            Host: api.imgur.com
            Authorization: 'Client-ID '
            Content-Length: '48'
        body: 'client_id=&client_secret=&grant_type=pin&pin=foo'
    response:
        status: 400
        headers:
            Date: 'Tue, 27 May 2014 03:58:36 GMT'
            Server: 'cat factory 1.0'
            Content-Type: application/json
            Cache-Control: 'max-age=60, s-maxage=60, public, must-revalidate'
            Accept-Ranges: bytes
            X-Served-By: 'cache-v36-ASH, cache-sv94-SJC3'
            X-Cache: 'MISS, MISS'
            X-Cache-Hits: '0, 0'
            access-control-allow-methods: 'GET, PUT, POST, DELETE, OPTIONS'
            access-control-allow-origin: '*'
            access-control-allow-headers: 'Authorization, Content-Type, Accept, X-Mashape-Authorization'
            Connection: close
            Transfer-Encoding: chunked
        body: '{"data":{"error":"Missing required fields","request":"\/oauth2\/token","method":"POST"},"success":false,"status":400}'
