cURL Examples
Ready-to-use examples to test the API quickly via your terminal.
Retrieve a Blog
bash
curl -X GET "https://api.getdrock.com/api/v1/blogs" \
-H "Authorization: Bearer YOUR_API_KEY"Retrieve Articles in JSON
bash
curl -X GET "https://api.getdrock.com/api/v1/articles?format=json" \
-H "Authorization: Bearer YOUR_API_KEY"