Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- 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.
Couldn't able to find the newly created document using POST request.
manokar_munisamy
Member, Developers Posts: 6 ✭
I am developing a plugin in vb.net which is connected to onshape application ,where i need to create a new document. I have sent the POST request with value like "https://partner.dev.onshape.com/documents/" with {'name':'asdasd'}. I have got the response as below
{StatusCode: 200, ReasonPhrase: 'OK', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:{ Connection: keep-alive Vary: Accept-Encoding X-No-Cache: 1 X-Frame-Options: SAMEORIGIN Strict-Transport-Security: max-age=31536000; includeSubDomains X-Content-Type-Options: nosniff X-XSS-Protection: 1; mode=block Content-Security-Policy-Report-Only: object-src 'self'; report-uri /api/csp Date: Wed, 10 Aug 2016 08:16:42 GMT Set-Cookie: _u=websvc-fecfa158; Path=/; Secure; HttpOnly; Server: nginx Content-Length: 1032 Content-Type: text/html; charset=utf-8}}
But I couldn't able to find the newly created document in the OnShape workspace. Could you please help me to find the document. Is the document is created or not?
{StatusCode: 200, ReasonPhrase: 'OK', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:{ Connection: keep-alive Vary: Accept-Encoding X-No-Cache: 1 X-Frame-Options: SAMEORIGIN Strict-Transport-Security: max-age=31536000; includeSubDomains X-Content-Type-Options: nosniff X-XSS-Protection: 1; mode=block Content-Security-Policy-Report-Only: object-src 'self'; report-uri /api/csp Date: Wed, 10 Aug 2016 08:16:42 GMT Set-Cookie: _u=websvc-fecfa158; Path=/; Secure; HttpOnly; Server: nginx Content-Length: 1032 Content-Type: text/html; charset=utf-8}}
But I couldn't able to find the newly created document in the OnShape workspace. Could you please help me to find the document. Is the document is created or not?
0
Comments