J›JackServeAPI SERVICE
Connecting to JackServe…

THE QUICK START

A simple request. A useful response.

GET + JSON

Read a value

Send your API key in a header with every request.

curl 'https://jacks-website.com/API/jackserve/USER_ID/API_NAME' \
  -H 'X-API-Key: YOUR_API_KEY'

Change a value

Add action=set and a URL-encoded value.

curl --get 'https://jacks-website.com/API/jackserve/USER_ID/API_NAME' \
  -H 'X-API-Key: YOUR_API_KEY' \
  --data-urlencode 'action=set' \
  --data-urlencode 'value=Hello, world!'

Change a value with a normal GET URL

Make an HTTPS GET request to this URL. Replace USER_ID, API_NAME, and YOUR_API_KEY with your details. The value parameter is the new value. When signed in, these examples use your first API and a value that matches its type.

https://jacks-website.com/API/jackserve/USER_ID/API_NAME?api_key=YOUR_API_KEY&action=set&value=Hello%2C%20world!

For a Double, use value=42.5. For a Bool, use value=true or value=false. URL-encode strings: a space becomes %20, and an ampersand becomes %26.

Microcontroller HTTP request

After connecting to Wi-Fi, open a TLS connection to jacks-website.com on port 443 and send this request. Verify the server certificate using your device’s trusted CA certificates.

GET /API/jackserve/USER_ID/API_NAME?action=set&value=Hello%2C%20world! HTTP/1.1
Host: jacks-website.com
X-API-Key: YOUR_API_KEY
Connection: close

End each line with \r\n, followed by a blank line. Your HTTP client library usually handles this. A 200 response means the change succeeded; the JSON response includes the saved value and remaining quota. Replace YOUR_API_KEY with your key; keeping it in a header avoids putting it in the URL.

Also accepts Authorization: Bearer YOUR_API_KEY or ?api_key=YOUR_API_KEY. Headers keep keys out of URL logs. String and Double input: 500 characters maximum. Doubles use standard floating-point precision; Bool accepts true or false. Successful endpoint calls count toward requests; successful writes also count toward changes. Failed calls and dashboard refreshes do not use quota. GET updates can run again if retried; cache storage is disabled.

Edit value

Uses one request and one change.