Sha256: ea212ac05b0c061c6890d09f8b4dd7d8bb11e4d82c571743950c949f236fa723

Contents?: true

Size: 1.23 KB

Versions: 5

Compression:

Stored size: 1.23 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: http://localhost:8888/moodle28/webservice/rest/server.php?moodlewsrestformat=json&wsfunction=core_user_create_users&wstoken=60fc9c9415259404795094957e4ab32f
    body:
      string: users[0][firstname]=Austin&users[0][password]=Password123!&users[0][lastname]=Powers&users[0][idnumber]=PAUST002&users[0][email]=austinp1%40jobready.com.au&users[0][username]=testuser1
    headers: {}

  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - private, must-revalidate, pre-check=0, post-check=0, max-age=0
      X-Powered-By:
      - PHP/5.6.2
      Pragma:
      - no-cache
      Content-Length:
      - "33"
      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.8zd DAV/2 mod_perl/2.0.8 Perl/v5.20.0
      Access-Control-Allow-Origin:
      - "*"
      Accept-Ranges:
      - none
      Content-Type:
      - application/json
      Expires:
      - Thu, 01 Jan 1970 00:00:00 GMT
      Date:
      - Sun, 12 Apr 2015 01:01:16 GMT
    body:
      string: "[{\"id\":5,\"username\":\"testuser1\"}]"
    http_version:
  recorded_at: Sun, 12 Apr 2015 01:01:16 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/_create/.yml
moodle_rb-2.1.0 spec/cassettes/MoodleRb_Users/_create/.yml
moodle_rb-2.0.0 spec/cassettes/MoodleRb_Users/_create/.yml
moodle_rb-1.2.0 spec/cassettes/MoodleRb_Users/_create/.yml
moodle_rb-1.1.3 spec/cassettes/MoodleRb_Users/_create/.yml