Back to blog
Blog

Code Snippets Now Available

Tony Spiro's avatar

Tony Spiro

January 19, 2018

cover image

Earlier this week we released our new NPM module and REST API docs and the response has been amazing. šŸ˜„ 

To make it even easier to get familiar with the new NPM module API, and faster to add dynamic content to your apps, you now have code snippets available in your Dashboard.

To find the snippets, simply click the code icon on the API endpoint and choose between JavaScript or cURL (more languages coming soon!).  The code works as is!

This is another way that we are helping you build apps faster and easier with Cosmic. If you have any questions or suggestions, please reach out to us on Twitterand join the Cosmic Community on Slack.

Photo by Dmitri Popov on Unsplash