curl with spaces more easily? #2

Open
opened 2020-05-19 16:58:16 -05:00 by mattbk · 1 comment
mattbk commented 2020-05-19 16:58:16 -05:00 (Migrated from github.com)

URLs don't like spaces.

URLs don't like spaces.
mattbk commented 2020-05-19 17:02:27 -05:00 (Migrated from github.com)

According to this, you can do it, but it's harder to remember:

curl -u matt:python -G http://localhost:5000/new --data-urlencode "title=hello world"

According to [this](https://www.systutorials.com/how-to-encode-spaces-in-curl-get-request-url-on-linux/), you can do it, but it's harder to remember: `curl -u matt:python -G http://localhost:5000/new --data-urlencode "title=hello world"`
Sign in to join this conversation.
No description provided.