Sha256: 2b7cad7395a2672a968f077e58614da858b6a8ff19b63958f6edcf10ee89bcb9

Contents?: true

Size: 1.22 KB

Versions: 5

Compression:

Stored size: 1.22 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://localhost:8888/moodle28/webservice/rest/server.php?moodlewsrestformat=json&wsfunction=core_course_get_course_module&wstoken=
    body:
      encoding: UTF-8
      string: cmid=21
    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:
      - Wed, 12 Jan 2022 00:09:54 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-08adafc8cf93e6451
      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: Wed, 12 Jan 2022 00:09:20 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_Courses/_module/when_using_invalid_token/.yml
moodle_rb-2.1.0 spec/cassettes/MoodleRb_Courses/_module/when_using_invalid_token/.yml
moodle_rb-2.0.0 spec/cassettes/MoodleRb_Courses/_module/when_using_invalid_token/.yml
moodle_rb-1.2.0 spec/cassettes/MoodleRb_Courses/_module/when_using_invalid_token/.yml
moodle_rb-1.1.3 spec/cassettes/MoodleRb_Courses/_module/when_using_invalid_token/.yml