Back to Collection Items
// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
Chilkat.Http http = new Chilkat.Http();
bool success;
http.SetRequestHeader("X-ANYPNT-ENV-ID","{{environment_id}}");
// Adds the "Authorization: Bearer {{token}}" header.
http.AuthToken = "{{token}}";
http.SetRequestHeader("X-ANYPNT-ORG-ID","{{organization_id}}");
Chilkat.StringBuilder sbResponseBody = new Chilkat.StringBuilder();
success = http.QuickGetSb("https://domain.com/visualizer/api/v4/organizations/{{organization_id}}/applications-info",sbResponseBody);
if (success == false) {
Debug.WriteLine(http.LastErrorText);
return;
}
Debug.WriteLine("Response status code = " + Convert.ToString(http.LastStatus));
Debug.WriteLine(sbResponseBody.GetAsString());
Curl Command
curl -X GET
-H "Authorization: Bearer {{token}}"
-H "X-ANYPNT-ORG-ID: {{organization_id}}"
-H "X-ANYPNT-ENV-ID: {{environment_id}}"
https://domain.com/visualizer/api/v4/organizations/{{organization_id}}/applications-info
Postman Collection Item JSON
{
"name": "Get application-info",
"request": {
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}",
"type": "text"
},
{
"key": "X-ANYPNT-ORG-ID",
"value": "{{organization_id}}",
"type": "text"
},
{
"key": "X-ANYPNT-ENV-ID",
"value": "{{environment_id}}",
"type": "text"
}
],
"url": {
"raw": "{{url}}/visualizer/api/v4/organizations/{{organization_id}}/applications-info",
"host": [
"{{url}}"
],
"path": [
"visualizer",
"api",
"v4",
"organizations",
"{{organization_id}}",
"applications-info"
]
}
},
"response": [
]
}