For what it is worth I've experimented with adding the additional price quote parameters as form data and query parameters.
I also added trace of the rest request and response. This approach at past oauth authorization, but fails because the server
can not find the volume or area input. But it is clear from the trace that it is being past to the server.
Here is the trace what the additional parameters are added as form data:
1 * Client out-bound request
1 > POST
https://api.shapeways.com/price/v1
1 > Content-Type: application/x-www-form-urlencoded
xBoundMax=0.01&area=0.0006&zBoundMin=0.01&volume =0.000001&yBoundMax=0.01&yBoundMin=0.01&zBoundMa x=0.01&xBoundMin=0.01
1 * Client in-bound response
1 < 500
1 < Expires: Mon, 26 Jul 1997 05:00:00 GMT
1 < Set-Cookie: whid=6; path=/
1 < Set-Cookie: __cfduid=db45a0da4d10dec658ae5ca4bd4cd6fae1408893234810; expires=Mon, 23-Dec-2019 23:50:00 GMT; path=/; domain=.shapeways.com; HttpOnly
1 < Connection: keep-alive
1 < Server: cloudflare-nginx
1 < X-Powered-By: PHP/5.3.10-1ubuntu3.9
1 < Cache-Control: no-cache, must-revalidate
1 < Status: 500 Internal Server Error
1 < Vary: Accept-Encoding
1 < Transfer-Encoding: chunked
1 < Date: Sun, 24 Aug 2014 15:13:55 GMT
1 < CF-RAY: 15f07f1d9fd0047f-FRA
1 < Content-Type: application/json; charset=utf-8
1 <
{"result":"failure","reason":"Field <volume> is required, but missing.\nField <area> is required, but missing."}
Exception in thread "main" com.sun.jersey.api.client.UniformInterfaceException: POST
https://api.shapeways.com/price/v1 returned a response status of 500 Internal Server Error
I would really appreciate some input from the Shapeways technical staff or the rest of the development community on what I am doing wrong.