Sha256: c1d68d06998946869381ada106857d4ed6ab02b04a62f9615bac97f9ed0b7db1

Contents?: true

Size: 1.57 KB

Versions: 1

Compression:

Stored size: 1.57 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://www.virustotal.com/api/v3/files
    body:
      encoding: ASCII-8BIT
      string: "------RubyFormBoundaryjv5FxFNLpwqDoUQA\r\nContent-Disposition: form-data;
        name=\"filename\"\r\n\r\nnull_file\r\n------RubyFormBoundaryjv5FxFNLpwqDoUQA\r\nContent-Disposition:
        form-data; name=\"file\"; filename=\"null_file\"\r\nContent-Type: text/plain\r\n\r\n\n\r\n------RubyFormBoundaryjv5FxFNLpwqDoUQA--\r\n"
    headers:
      Accept:
      - "*/*"
      User-Agent:
      - rest-client/2.1.0 (linux-gnu x86_64) ruby/2.5.1p57
      X-Apikey:
      - testapikey
      Content-Length:
      - '282'
      Content-Type:
      - multipart/form-data; boundary=----RubyFormBoundaryjv5FxFNLpwqDoUQA
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Host:
      - www.virustotal.com
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - no-cache
      Content-Type:
      - application/json; charset=utf-8
      X-Cloud-Trace-Context:
      - 9c3d1ae8f345c5ca8060a4b793174891
      Date:
      - Wed, 02 Sep 2020 14:02:36 GMT
      Server:
      - Google Frontend
      Content-Length:
      - '128'
    body:
      encoding: UTF-8
      string: |-
        {
            "data": {
                "id": "NjhiMzI5ZGE5ODkzZTM0MDk5YzdkOGFkNWNiOWM5NDA6MTU5OTA1NTM1Ng==",
                "type": "analysis"
            }
        }
    http_version:
  recorded_at: Wed, 02 Sep 2020 14:02:37 GMT
recorded_with: VCR 5.0.0

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
virustotal_api_compat-0.1.7 test/fixtures/file_upload.yml