Sha256: 31beea4c2086b00551f3938589f7a8a2256b07afb26b242612a622f7ed352dd5

Contents?: true

Size: 1.05 KB

Versions: 2

Compression:

Stored size: 1.05 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://smsc.openmarket.com/sms/v4/mt
    body:
      encoding: UTF-8
      string: '{"mobileTerminate":{"message":{"content":"Hello OpenMarket World!","type":"text"},"destination":{"address":"918000001"}}}'
    headers:
      User-Agent:
      - Faraday v0.14.0
      Authorization:
      - Basic BOGUS
      Content-Type:
      - application/json
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
  response:
    status:
      code: 401
      message: Unauthorized
    headers:
      X-Request-Id:
      - 001-73-8A621A7C-B7AC-495A-A4F3-3363E01B27C7
      Content-Type:
      - application/json;charset=ISO-8859-1
      Content-Length:
      - '80'
      Date:
      - Wed, 28 Feb 2018 16:27:59 GMT
      Server:
      - OpenMarket Server
    body:
      encoding: UTF-8
      string: '{"error":{"code":"420","description":"Invalid account ID or account
        password"}}

'
    http_version:
  recorded_at: Wed, 28 Feb 2018 16:27:59 GMT
recorded_with: VCR 4.0.0

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sms_broker-1.0.8 spec/support/vcr_cassettes/open_market/message_unauthorized.yml
sms_broker-1.0.7 spec/support/vcr_cassettes/open_market/message_unauthorized.yml