Back to Collection Items
// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
loHttp = createobject("CkHttp")
loSbResponseBody = createobject("CkStringBuilder")
llSuccess = loHttp.QuickGetSb("https://id.mycompany.com/.well-known/assetlinks.json",loSbResponseBody)
if (llSuccess = .F.) then
? loHttp.LastErrorText
release loHttp
release loSbResponseBody
return
endif
? "Response status code = " + str(loHttp.LastStatus)
? loSbResponseBody.GetAsString()
release loHttp
release loSbResponseBody
Curl Command
curl -X GET
https://id.mycompany.com/.well-known/assetlinks.json
Postman Collection Item JSON
{
"name": "Step 2: Verify assetlinks.json",
"request": {
"auth": {
"type": "noauth"
},
"method": "GET",
"header": [
],
"url": {
"raw": "{{customDomainUrl}}/.well-known/assetlinks.json",
"host": [
"{{customDomainUrl}}"
],
"path": [
".well-known",
"assetlinks.json"
]
}
},
"response": [
]
}