Newer
Older
web-services / base-line / tests.hurl
POST https://base-line.services.istex.fr/v1/echo/json?indent=true
content-type: application/json
[
	{ "id":"12345","value": "A" },
	{ "id":"6789","value": "B" }
]

HTTP 200
[{
    "id": "12345",
    "value": "A"
},
{
    "id": "6789",
    "value": "B"
}]

POST https://base-line.services.istex.fr/v1/echo/csv
content-type: text/csv
```
id,value
12345,A
6789,B
```

HTTP 200
```
id;value
12345;A
6789;B
```



POST https://base-line.services.istex.fr/v1/echo/raw
content-type: text/plain
```
OK
```

HTTP 200
```
OK
```



POST https://base-line.services.istex.fr/v1/true/json?indent=true
content-type: application/json
[
	{ "id":"12345","value": "A" },
	{ "id":"6789","value": "B" }
]

HTTP 200
[{
    "id": "12345",
    "value": true
},
{
    "id": "6789",
    "value": true
}]

POST https://base-line.services.istex.fr/v1/true/csv
content-type: text/csv
```
id,value
12345,A
6789,B
```

HTTP 200
```
id;value
12345;true
6789;true
```