# Test your API

After the deployment has completed, you'll see a modal with useful commands to test your API. For the following commands, replace `your api path` and `your api key` with your API path and the API key.&#x20;

Create a new post:

&#x20;`curl -H "Content-Type: application/json" \`\
`-H "API-TOKEN: your api key" \`\
`-d "{ \"Property\": \"value\"}" \`\
`https://console.hatchapps.com/api/your_api_path/endpoint`\
&#x20;

Here's an example:

&#x20;`curl -H "Content-Type: application/json" \`\
`-H "API-TOKEN: 26818869033657110" \`\
`-d "{ \"name\": \"testname\"}" \`\
`https://console.hatchapps.com/api/hatchappsapi/posts`\
&#x20;

We also provide a no-code way to test your API with our API Tester.&#x20;

That's it! You have successfully built and deployed your first API with Hatch Apps API Builder and created your first object.

<figure><img src="https://3982827723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6qwJ7LGcCMgvJyXFuh2e%2Fuploads%2FXuxSjDBeccnJ53Ygysus%2FScreen%20Shot%202022-11-02%20at%202.33%201.png?alt=media&#x26;token=fcfab1ef-296b-42a9-812e-d28103a22c36" alt=""><figcaption></figcaption></figure>
