Chilkat Online Tools

Swift3 / CleverTap API / https://developer.clevertap.com/docs/clevertap-query-language

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://developer.clevertap.com/docs/clevertap-query-language", 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://developer.clevertap.com/docs/clevertap-query-language

Postman Collection Item JSON

{
  "name": "https://developer.clevertap.com/docs/clevertap-query-language",
  "request": {
    "method": "GET",
    "header": [
    ],
    "url": {
      "raw": "https://developer.clevertap.com/docs/clevertap-query-language",
      "protocol": "https",
      "host": [
        "developer",
        "clevertap",
        "com"
      ],
      "path": [
        "docs",
        "clevertap-query-language"
      ]
    }
  },
  "response": [
  ]
}