Back to Collection Items
// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
Dim http As New Chilkat.Http
Dim success As Boolean
http.BasicAuth = True
http.Login = "{{secretId}}"
http.Password = "{{secretPassword}}"
Dim sbResponseBody As New Chilkat.StringBuilder
success = http.QuickGetSb("https://domain.com/api/recurring-expenses/:id/",sbResponseBody)
If (success = False) Then
System.DebugLog(http.LastErrorText)
Return
End If
System.DebugLog("Response status code = " + Str(http.LastStatus))
System.DebugLog(sbResponseBody.GetAsString())
Curl Command
curl -X GET
-u '{{secretId}}:{{secretPassword}}'
https://domain.com/api/recurring-expenses/:id/
Postman Collection Item JSON
{
"name": "Detail",
"request": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{baseUrl}}/api/recurring-expenses/:id/",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"recurring-expenses",
":id",
""
],
"variable": [
{
"key": "id",
"value": null
}
]
},
"description": "Get the details of a specific recurring expense."
},
"response": [
]
}