Create new data

You can create new data with a POST request as shown below. Replace your api path, your api key, and your end point with your API path, API key, and endpoint.

  • Create new data

curl -H "Content-Type: application/json" \ -H "API-TOKEN: your api key" \ -d "{ \"text\": \"Hello from HatchApps!\", \"author\": \"me\" }" \ https://console.hatchapps.com/api/your api path/your endpoint

  • Here's an Example

curl -H "Content-Type: application/json" \ -H "API-TOKEN: 42270160762429063" \ -d "{ \"text\": \"Hello from HatchApps!\", \"author\": \"me\" }" \ https://console.hatchapps.com/api/notes/test

Last updated