Sha256: bf53ddcea758970d5bb7220d880278bf563e9d629efdb3ca934f979e6bd310fa

Contents?: true

Size: 1.25 KB

Versions: 5

Compression:

Stored size: 1.25 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://localhost:8888/moodle28/webservice/rest/server.php?moodlewsrestformat=json&wsfunction=core_user_search_identity&wstoken=
    body:
      encoding: UTF-8
      string: query=moodle_student%40mailinator.com
    headers: {}
  response:
    status:
      code: 200
      message: OK
    headers:
      Accept-Ranges:
      - bytes
      - none
      Access-Control-Allow-Origin:
      - "*"
      Age:
      - '0'
      Cache-Control:
      - private, must-revalidate, pre-check=0, post-check=0, max-age=0
      Content-Type:
      - application/json
      Date:
      - Tue, 11 Jan 2022 21:28:57 GMT
      Expires:
      - Thu, 01 Jan 1970 00:00:00 GMT
      Pragma:
      - no-cache
      Server:
      - Moodle
      X-Cache:
      - MISS
      X-Clacks-Overhead:
      - GNU Terry Pratchett
      X-Ec2-Instance-Id:
      - i-0afd4744d7a60c5d7
      X-Powered-By:
      - Moodle Ninjas
      Content-Length:
      - '103'
      Connection:
      - keep-alive
    body:
      encoding: UTF-8
      string: '{"exception":"moodle_exception","errorcode":"invalidtoken","message":"Invalid
        token - token not found"}'
    http_version:
  recorded_at: Tue, 11 Jan 2022 21:28:24 GMT
recorded_with: VCR 2.9.3

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
moodle_rb-2.1.5 spec/cassettes/MoodleRb_Users/_search_identity/when_using_invalid_token/.yml
moodle_rb-2.1.0 spec/cassettes/MoodleRb_Users/_search_identity/when_using_invalid_token/.yml
moodle_rb-2.0.0 spec/cassettes/MoodleRb_Users/_search_identity/when_using_invalid_token/.yml
moodle_rb-1.2.0 spec/cassettes/MoodleRb_Users/_search_identity/when_using_invalid_token/.yml
moodle_rb-1.1.3 spec/cassettes/MoodleRb_Users/_search_identity/when_using_invalid_token/.yml