Sha256: d793baff9bb47a70b437e64f559972fc34229107a40fe443996c9b7ca1e33a88

Contents?: true

Size: 1.12 KB

Versions: 5

Compression:

Stored size: 1.12 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: http://localhost:8888/moodle28/webservice/rest/server.php?moodlewsrestformat=json&wsfunction=core_user_update_users&wstoken=
    body:
      string: users[0][email]=&users[0][id]=4
    headers: {}

  response:
    status:
      code: 200
      message: OK
    headers:
      X-Powered-By:
      - PHP/5.6.2
      Accept-Ranges:
      - none
      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
      Pragma:
      - no-cache
      Content-Type:
      - application/json
      Access-Control-Allow-Origin:
      - "*"
      Expires:
      - Thu, 01 Jan 1970 00:00:00 GMT
      Date:
      - Mon, 20 Jun 2016 22:39:11 GMT
      Cache-Control:
      - private, must-revalidate, pre-check=0, post-check=0, max-age=0
      Content-Length:
      - "103"
    body:
      string: "{\"exception\":\"moodle_exception\",\"errorcode\":\"invalidtoken\",\"message\":\"Invalid token - token not found\"}"
    http_version:
  recorded_at: Mon, 20 Jun 2016 22:39:11 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/_update/when_using_invalid_token/.yml
moodle_rb-2.1.0 spec/cassettes/MoodleRb_Users/_update/when_using_invalid_token/.yml
moodle_rb-2.0.0 spec/cassettes/MoodleRb_Users/_update/when_using_invalid_token/.yml
moodle_rb-1.2.0 spec/cassettes/MoodleRb_Users/_update/when_using_invalid_token/.yml
moodle_rb-1.1.3 spec/cassettes/MoodleRb_Users/_update/when_using_invalid_token/.yml