Use Insomnia with the ausdata API
Same OpenAPI import flow as Postman. Insomnia handles bearer auth at the workspace level.
Steps
- 1Create a workspace.
- 2Import the OpenAPI URL.
- 3Configure auth.
Code
cURL
curl https://api.ausdata.io/openapi.json \
-H "Authorization: Bearer YOUR_KEY"Python
import requests
r = requests.get(
"https://api.ausdata.io/openapi.json",
headers={"Authorization": "Bearer YOUR_KEY"},
)
print(r.json())JavaScript
const r = await fetch("https://api.ausdata.io/openapi.json", {
headers: { Authorization: "Bearer YOUR_KEY" },
});
console.log(await r.json());Watch out for
- Insomnia free plan caches request history locally only.
Related
Try it now
500 free calls per month. No credit card.
Get a free API key