Hacker News new | past | comments | ask | show | jobs | submit login

Just an FYI regarding your documentation, of example GET requests (e.g., 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



Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: