Sha256: d8a6579bf1319b5cba1534348ea46510cd17b9e0a0d6e57e7e7cc7c145ac561a

Contents?: true

Size: 1.64 KB

Versions: 1

Compression:

Stored size: 1.64 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://api.uploadcare.com/convert/document/
    body:
      encoding: UTF-8
      string: '{"paths":["86c54d9a-3453-4b12-8dcc-49883ae8f084/document/-/format/pdf/"],"store":"0"}'
    headers:
      Content-Type:
      - application/json
      Accept:
      - application/vnd.uploadcare-v0.7+json
      User-Agent:
      - UploadcareRuby/3.0.5/5d5bb5639e3f2df33674 (Ruby/2.7.2)
      Date:
      - Fri, 23 Jul 2021 11:37:35 GMT
      Authorization:
      - Uploadcare 5d5bb5639e3f2df33674:b616ace0f3e3b3e8bda844e3bceff181cb7291f8
      Connection:
      - close
      Host:
      - api.uploadcare.com
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Fri, 23 Jul 2021 11:37:37 GMT
      Content-Type:
      - application/json
      Content-Length:
      - '179'
      Connection:
      - close
      Server:
      - nginx
      Vary:
      - Accept
      - Accept-Encoding
      Warning:
      - '199 Miscellaneous warning: Please use API version 0.5, not 0.6'
      Access-Control-Allow-Origin:
      - https://uploadcare.com
      Allow:
      - OPTIONS, POST
      X-Xss-Protection:
      - 1; mode=block
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - SAMEORIGIN
      X-Robots-Tag:
      - noindex, nofollow, nosnippet, noarchive
    body:
      encoding: ASCII-8BIT
      string: '{"result": [{"original_source": "86c54d9a-3453-4b12-8dcc-49883ae8f084/document/-/format/pdf/",
        "token": 21201766, "uuid": "e8656549-6efd-4414-890c-708afd4f648f"}], "problems":
        {}}'
  recorded_at: Fri, 23 Jul 2021 11:37:37 GMT
recorded_with: VCR 6.0.0

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
uploadcare-rails-3.2.0 spec/fixtures/vcr_cassettes/conversion_api_convert_document.yml