Back to Collection Items
func chilkatTest() {
// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
let http = CkoHttp()!
var success: Bool
let sbResponseBody = CkoStringBuilder()!
success = http.quickGetSb("https://id.mycompany.com/.well-known/assetlinks.json", sbContent: sbResponseBody)
if success == false {
print("\(http.lastErrorText!)")
return
}
print("Response status code = \(http.lastStatus.intValue)")
print("\(sbResponseBody.getAsString()!)")
}
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": [
]
}