onshape-public / onshape-clients

All Onshape clients for interacting with the Onshape API.
MIT License
32 stars 26 forks source link

[TypeScript-Node] HTTP 404 on the /api/endpoints Route? #94

Open sraza-onshape opened 1 year ago

sraza-onshape commented 1 year ago

Hello, I was reading through the endpointsApi.ts module and I saw we get the list of endpoints by calling an endpoint that's called https://cad.onshape.com/api/endpoints - but when I tried this out in Postman, I received a HTTP 404 response.

Here is the line of code that makes me suspicious: https://github.com/onshape-public/onshape-clients/blob/4f613cc4025a90e11493e2b79560afe9762e1686/typescript-node/api/endpointsApi.ts#LL81C25-L81C25

Perhaps this endpoint is no longer supported in the Onshape API? Or maybe I'm just missing something?