Sha256: 592ea2137f9210682674277f5c7b4467b3f80c169ef6ccc0372edc1ce0dd4d7f

Contents?: true

Size: 1.12 KB

Versions: 3

Compression:

Stored size: 1.12 KB

Contents

--- 
recorded_with: VCR 2.9.3
http_interactions: 
- request: 
    method: post
    uri: http://localhost:8888/moodle29/webservice/rest/server.php?moodlewsrestformat=json&wsfunction=core_enrol_get_users_courses&wstoken=
    body: 
      string: userid=3
    headers: {}

  response: 
    status: 
      code: 200
      message: OK
    headers: 
      Server: 
      - Apache/2.2.29 (Unix) mod_fastcgi/2.4.6 mod_wsgi/3.4 Python/2.7.8 PHP/5.6.2 mod_ssl/2.2.29 OpenSSL/0.9.8zg DAV/2 mod_perl/2.0.8 Perl/v5.20.0
      Expires: 
      - Thu, 01 Jan 1970 00:00:00 GMT
      Content-Length: 
      - "103"
      Pragma: 
      - no-cache
      Cache-Control: 
      - private, must-revalidate, pre-check=0, post-check=0, max-age=0
      Accept-Ranges: 
      - none
      Content-Type: 
      - application/json
      X-Powered-By: 
      - PHP/5.6.2
      Access-Control-Allow-Origin: 
      - "*"
      Date: 
      - Mon, 20 Jun 2016 22:37:07 GMT
    body: 
      string: "{\"exception\":\"moodle_exception\",\"errorcode\":\"invalidtoken\",\"message\":\"Invalid token - token not found\"}"
    http_version: 
  recorded_at: Mon, 20 Jun 2016 22:37:07 GMT

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
moodle_rb-1.0.5 spec/cassettes/MoodleRb_Users/_enrolled_courses/when_using_invalid_token/.yml
moodle_rb-1.0.4 spec/cassettes/MoodleRb_Users/_enrolled_courses/when_using_invalid_token/.yml
moodle_rb-1.0.3 spec/cassettes/MoodleRb_Users/_enrolled_courses/when_using_invalid_token/.yml