π©βπ»Using your project
Learn how to make API requests to query your project's data
Listing galaxies & planets
curl 'https://YOUR_PROJECT_URL/galaxies' \
--request GET \
--header 'x-api-key: YOUR_API_KEY'[]curl 'https://YOUR_PROJECT_URL/planets' \
--request GET \
--header 'x-api-key: YOUR_API_KEY'Creating a galaxy
curl 'https://YOUR_PROJECT_URL/galaxies' \
--request POST \
--header 'x-api-key: YOUR_API_KEY' \
--header 'content-type: application/json' \
--data '{"name": "Milky Way"}'Creating a planet
Creating a planet linked to a galaxy
Last updated