fixtures/vcr_cassettes/token_service/invalid_service_token_service.yml
---
http_interactions:
- request:
method: post
uri: http://my_moodle_instance.com/login/token.php?username=ryan.mes%40email.co.za&password=mypassword&service=invalidservice
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Typhoeus - https://github.com/typhoeus/typhoeus
Accept:
- json
response:
status:
code: 200
message: OK
headers:
Date:
- Tue, 07 Jul 2015 09:02:42 GMT
Server:
- Apache/2.4.9 (Unix) PHP/5.5.14
X-Powered-By:
- PHP/5.5.14
Cache-Control:
- no-store, no-cache, must-revalidate
- post-check=0, pre-check=0
Pragma:
- no-cache
Expires:
- Mon, 20 Aug 1969 09:23:00 GMT
Last-Modified:
- Tue, 07 Jul 2015 09:02:43 GMT
Accept-Ranges:
- none
Content-Length:
- '259'
Content-Type:
- application/json; charset=utf-8
body:
encoding: UTF-8
string: '{"error":"Web service is not available (it doesn''t exist or might be disabled)","stacktrace":"* line 86 of \/login\/token.php: moodle_exception
thrown\n","debuginfo":"\nError code: servicenotavailable","reproductionlink":"http:\/\/my_moodle_instance.com\/"}'
http_version: '1.1'
adapter_metadata:
effective_url: http://my_moodle_instance.com/login/token.php?username=ryan.mes%40email.co.za&password=mypassword&service=invalidservice
recorded_at: Tue, 07 Jul 2015 09:02:43 GMT
recorded_with: VCR 2.9.3