Sha256: 2d19fc3905b5418671bcb47df7e0f02eeeb19d8f9118c42b12847b6d97ad7cf8

Contents?: true

Size: 1.18 KB

Versions: 5

Compression:

Stored size: 1.18 KB

Contents

--- 
http_interactions: 
- request: 
    method: post
    uri: http://localhost:8888/moodle28/webservice/rest/server.php?moodlewsrestformat=json&wsfunction=core_grades_get_grades&wstoken=60fc9c9415259404795094957e4ab32f
    body: 
      string: userids[0]=ABC&courseid=8
    headers: {}

  response: 
    status: 
      code: 200
      message: OK
    headers: 
      Content-Length: 
      - "119"
      Expires: 
      - Thu, 01 Jan 1970 00:00:00 GMT
      Pragma: 
      - no-cache
      Accept-Ranges: 
      - none
      Content-Type: 
      - application/json
      X-Powered-By: 
      - PHP/5.6.2
      Cache-Control: 
      - private, must-revalidate, pre-check=0, post-check=0, max-age=0
      Access-Control-Allow-Origin: 
      - "*"
      Date: 
      - Wed, 10 Jun 2015 03:06:02 GMT
      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
    body: 
      string: "{\"exception\":\"invalid_parameter_exception\",\"errorcode\":\"invalidparameter\",\"message\":\"Invalid parameter value detected\"}"
    http_version: 
  recorded_at: Wed, 10 Jun 2015 03:06:02 GMT
recorded_with: VCR 2.9.3

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
moodle_rb-1.0.5 spec/cassettes/MoodleRb_Grades/_by_course/when_invalid_parameters/.yml
moodle_rb-1.0.4 spec/cassettes/MoodleRb_Grades/_by_course/when_invalid_parameters/.yml
moodle_rb-1.0.3 spec/cassettes/MoodleRb_Grades/_by_course/when_invalid_parameters/.yml
moodle_rb-1.0.2 spec/cassettes/MoodleRb_Grades/_by_course/when_invalid_parameters/.yml
moodle_rb-1.0.1 spec/cassettes/MoodleRb_Grades/_by_course/when_invalid_parameters/.yml