When `POST`ing to a local `Cloud Pricing API` serv...
# help
a
When `POST`ing to a local
Cloud Pricing API
server, I get this:
Copy code
~/cloud-pricing-api $ curl -X POST <http://localhost:4000>
{"error":"Invalid API key"}
What is the format for including the API credential in the
POST
request?
b
You can find the example here: https://github.com/infracost/cloud-pricing-api
Here are the steps how to setup the API key: https://github.com/infracost/cloud-pricing-api
a
oof! I've been looking at the docs, repo, etc. the last few days, I'm now glossing straight over this stuff. thank you!
b
No problem :)