7 ms·
Just an FYI regarding your documentation, of example GET requests (e.g., https://www.shirts.io/docs/quote_reference/ https://www.shirts.io/docs/quote_reference/
by e-dard 13y ago
Just an FYI regarding your documentation, of example GET requests (e.g., https://www.shirts.io/docs/quote_reference/ https://www.shirts.io/docs/quote_reference/)
You can describe GET requests as follows with cURL, which I find a bit smarter :-)
curl -G https://www.shirts.io/api/v1/quote/ \
-d "api_key=APIKEY" \
-d "garment[0][product_id]=3" \
-d "garment[0][color]=White" \
-d "garment[0][sizes][med]=100" \
-d "garment[0][sizes][lrg]=50"
In cases where you need to url-encode the parameter, you can switch out -d for --data-urlencode