43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
|
---
|
||
|
http_interactions:
|
||
|
- request:
|
||
|
method: get
|
||
|
uri: http://api-adresse.data.gouv.fr/search?limit=5&q=je%20recherche%20pas%20grand%20chose
|
||
|
body:
|
||
|
encoding: US-ASCII
|
||
|
string: ''
|
||
|
headers:
|
||
|
Accept:
|
||
|
- "*/*"
|
||
|
Accept-Encoding:
|
||
|
- gzip, deflate
|
||
|
User-Agent:
|
||
|
- rest-client/2.0.0 (darwin15.6.0 x86_64) ruby/2.3.1p112
|
||
|
response:
|
||
|
status:
|
||
|
code: 200
|
||
|
message: OK
|
||
|
headers:
|
||
|
Server:
|
||
|
- nginx/1.11.3
|
||
|
Date:
|
||
|
- Fri, 16 Dec 2016 16:45:53 GMT
|
||
|
Content-Type:
|
||
|
- application/json; charset=utf-8
|
||
|
Content-Length:
|
||
|
- '163'
|
||
|
Connection:
|
||
|
- keep-alive
|
||
|
Access-Control-Allow-Origin:
|
||
|
- "*"
|
||
|
Access-Control-Allow-Headers:
|
||
|
- X-Requested-With
|
||
|
body:
|
||
|
encoding: UTF-8
|
||
|
string: '{"limit": 5, "attribution": "BAN", "version": "draft", "licence": "ODbL
|
||
|
1.0", "query": "je recherche pas grand chose", "type": "FeatureCollection",
|
||
|
"features": []}'
|
||
|
http_version:
|
||
|
recorded_at: Fri, 16 Dec 2016 16:45:53 GMT
|
||
|
recorded_with: VCR 3.0.3
|