Search Search  
Today's Messages (ON)  | Unanswered Messages (OFF)

Forum: Shapeways API
 Topic: 500 Response on POST to /orders/cart/v1
Re: 500 Response on POST to /orders/cart/v1 [message #136694 is a reply to message #136692 ] Wed, 10 February 2016 01:41 UTC
avatar stonysmith  is currently offline stonysmith
Messages: 2579
Registered: August 2008
Go to my shop
Shapie Expert
moderator
Is there no message with the 500 return code?


Patience, Persistance, Politeness - the 3Ps will help us get us to Perfect Printed Products
Re: 500 Response on POST to /orders/cart/v1 [message #136702 is a reply to message #136694 ] Wed, 10 February 2016 08:02 UTC
avatar dt99jay is currently online dt99jay
Messages: 4
Registered: June 2013
Go to all my models
Junior Member
Unfortunately I can't see any other message. The request is formed like this in Shapeways' python module:
response = requests.post(
            url=self.url(url), auth=self.oauth, params=params, data=body
        )

I can print the headers, but when I've tried to print out 'response.content' and 'response.text', both seem to be empty. The headers are:
{'Connection': 'keep-alive', 'Content-Length': '0', 'X-Powered-By': 'PHP/5.3.10-1ubuntu3.21', 'Cf-Railgun': 'direct (starting new WAN connection)', 'Vary': 'Accept-Encoding', 'Set-Cookie': '__cfduid=df38ef8bb433e25fb0cbd24b8437c43ba1455090393; expires=Thu, 09-Feb-17 07:46:33 GMT; path=/; domain=.shapeways.com; HttpOnly, whid=9; path=/', 'Date': 'Wed, 10 Feb 2016 07:46:33 GMT', 'CF-RAY': '2726336f0fce0cb9-LHR', 'Server': 'cloudflare-nginx', 'Content-Type': 'text/html'}

[Updated on: Wed, 10 February 2016 08:03 UTC]

Logo

Hello.

We're sorry to inform you that we no longer support this browser and can't confirm that everything will work as expected. For the best Shapeways experience, please use one of the following browsers:

Click anywhere outside this window to continue.