6. Testing Free Tier APIs
If you are done with the previous steps, you can now start to test your APIs out. As we are running a sample Free Tier project in this Setup guide, there would be no need to release and deploy the APIs. All the APIs created in Draft mode (in development mode) can be tested on the free tier Development Environment instantly and immediately 🚀.
Cosmocloud is an instant deployment platform, where as soon as you click Save Button (on Free mode) or release a new version (Pro mode) your APIs are already deployed and live. No need to wait for any deployment jobs or switchovers to happen.
Everything is Instantly Deployed 🚀
Trying our your new APIs
Just open any API you would want to test and copy the Development Endpoint for that API.
You can also find the Base URL of your Development Environment in Application Layer -> Environments.
Open Postman and add your API there along with required fields like request method, request body, etc. needed for the API.
Add the required keys in Headers to call your APIs.
projectId : The ID of your Cosmocloud Project. You can find this by clicking on your
Organisation's name
on the top left of your dashboard. You can find this ID in the list of Projects inside your Organisation.environmentId : You can find this by visiting Environments page in your Project's dashboard. Copy the Development environment's ID.
Hit the API !
The above Headers are only required while calling the Development environment in Free projects. For dedicated environments in a Pro project, you mat not pass these headers.
Last updated