Chilkat Online Tools

Unicode C++ / Binance spot API / Test Connectivity

Back to Collection Items

void ChilkatSample(void)
    {
    success = http.QuickGetSb(L"https://domain.com/api/v3/ping",sbResponseBody);
    }

Curl Command

curl -X GET
	-H "Content-Type: application/json"
https://domain.com/api/v3/ping

Postman Collection Item JSON

{
  "name": "Test Connectivity",
  "request": {
    "method": "GET",
    "header": [
      {
        "key": "Content-Type",
        "type": "text",
        "value": "application/json"
      }
    ],
    "url": {
      "raw": "{{url}}/api/v3/ping",
      "host": [
        "{{url}}"
      ],
      "path": [
        "api",
        "v3",
        "ping"
      ]
    },
    "description": "Test connectivity to the Rest API.\n\nWeight(IP): 1"
  },
  "response": [
  ]
}