Back to Collection Items
var
begin
CkHttp_putBasicAuth(http,True);CkHttp_putLogin(http,'{{webservice_key}}');CkHttp_putPassword(http,'password');CkJsonObject_UpdateString(queryParams,'io_format','JSON');success := CkHttp_HttpParams(http,'GET','https://localhost:8080/api/articles/1',queryParams,resp);
Curl Command
curl -G -d "io_format=JSON"
-u '{{webservice_key}}:password'
https://localhost:8080/api/articles/1
Postman Collection Item JSON
{
"name": "Get article (as JSON)",
"request": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{webservice_url}}/api/articles/{{articleId}}?io_format=JSON",
"host": [
"{{webservice_url}}"
],
"path": [
"api",
"articles",
"{{articleId}}"
],
"query": [
{
"key": "io_format",
"value": "JSON"
}
]
}
},
"response": [
]
}