PostgREST / postgrest-docs

This repo is archived and will be merged into postgrest/postgrest soon.
http://postgrest.org
MIT License
365 stars 164 forks source link

Avoid Globbing in Curl examples #744

Closed laurenceisla closed 5 months ago

laurenceisla commented 5 months ago

Noticed in an SO answer that curl does Globbing by default when {} is present. So these should be percent encoded in the examples or use the -g parameter (I prefer the latter, looks cleaner).

steve-chavez commented 5 months ago

@laurenceisla IIRC using single quotes ' also prevents the globbing.

laurenceisla commented 5 months ago

@steve-chavez Just tested it, it still does the globbing with single quotes.