Sha256: 08cf3b58e8f6d1f8fe44a1c43fed0eba66b441f8c891179b8599692f5e98b9f4

Contents?: true

Size: 1017 Bytes

Versions: 6

Compression:

Stored size: 1017 Bytes

Contents

---
http_interactions:
- request:
    method: post
    uri: http://localhost:4000/api/v1/email_otps
    body:
      encoding: UTF-8
      string: '{"nonce":"remitano-1","receiver_email":"test@example.com","content":""}'
    headers:
      Content-Type:
      - application/json
      Authorization:
      - b40e50ce41b9ac706309818cab0c8239eaa64593eb10913d2c9f06951f3a25a5e6e8e02f520618cdeed8c827aa0352e52d4cfa5a916fdc5026db640d6b32a897
      Appname:
      - remitano
  response:
    status:
      code: 422
      message: Unprocessable Entity
    headers:
      Content-Type:
      - application/json
      Content-Length:
      - '34'
      Cache-Control:
      - no-cache
      X-Request-Id:
      - 2f4969ec-4847-45ad-9761-0a3f2ad62411
      X-Runtime:
      - '0.297721'
      Connection:
      - keep-alive
      Server:
      - thin
    body:
      encoding: ASCII-8BIT
      string: '{"error":"Content can''t be blank"}'
    http_version:
  recorded_at: Wed, 03 Feb 2021 18:26:19 GMT
recorded_with: VCR 2.6.0

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
portal-connectors-0.58.39xc spec/fixtures/vcr_cassettes/PortalConnectors_AutomateClient/_submit_email_otp/server_response_with_error_status/returns_error.yml
portal-connectors-0.58.39xb spec/fixtures/vcr_cassettes/PortalConnectors_AutomateClient/_submit_email_otp/server_response_with_error_status/returns_error.yml
portal-connectors-0.58.39xa spec/fixtures/vcr_cassettes/PortalConnectors_AutomateClient/_submit_email_otp/server_response_with_error_status/returns_error.yml
portal-connectors-0.58.39fj spec/fixtures/vcr_cassettes/PortalConnectors_AutomateClient/_submit_email_otp/server_response_with_error_status/returns_error.yml
portal-connectors-0.58.39fg spec/fixtures/vcr_cassettes/PortalConnectors_AutomateClient/_submit_email_otp/server_response_with_error_status/returns_error.yml
portal-connectors-0.58.38xn spec/fixtures/vcr_cassettes/PortalConnectors_AutomateClient/_submit_email_otp/server_response_with_error_status/returns_error.yml