Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

Options

Does Onshape API have CORS enabled?

Jangho_JungJangho_Jung Member Posts: 1
I'm trying to make frontend API calls from the browser to the Onshape API, but I'm running into some issues with CORS. Does anyone know if Onshape API has CORS enabled? Or has anyone successfully worked with the API without serverside programming ( ex. no python or nodejs ) ?

Best Answer

  • Options
    awkawk Member, Onshape Employees, Developers Posts: 78
    Answer ✓
    The Onshape API does not support CORS. You'll need to use some type of service that is not entirely based within a browser. A lambda service or similar would work fine, you do not necessarily have to setup your own infrastructure.
    Director of API, Appstore, and App Partner Technical Support

Answers

  • Options
    awkawk Member, Onshape Employees, Developers Posts: 78
    Answer ✓
    The Onshape API does not support CORS. You'll need to use some type of service that is not entirely based within a browser. A lambda service or similar would work fine, you do not necessarily have to setup your own infrastructure.
    Director of API, Appstore, and App Partner Technical Support
Sign In or Register to comment.