Get code from codesandbox #1028
-
❔ QuestionHey. Is it possible to embed the codesandbox-client into my website and save the code, that I write inside the codesandbox to my server? Now, I found only one solution: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @dreamniker There is an API endpoint that returns the contents of a sandbox: https://codesandbox.io/api/v1/sandboxes/new (replace If that answers your question, please help us keep the issue count low by closing this! 🙂 |
Beta Was this translation helpful? Give feedback.
Hey @dreamniker
There is an API endpoint that returns the contents of a sandbox: https://codesandbox.io/api/v1/sandboxes/new (replace
new
with your sandbox id).If that answers your question, please help us keep the issue count low by closing this! 🙂