Skip to content

Encoding the query parameters? #36

Open

Description

@epugh

I've been struggling a bit with what is part of curl-generator and what isn't.... It is generating URL's that have white space in the params, which i guess I thought of as part of what the tool would deal with?

➜  quepid git:(angular-phase-5) ✗ curl 'http://quepid-solr.dev.o19s.com:8985/solr/statedecoded/select?q=work&magicBoost=31&echoParams=all&fl=id catch_line structure text&wt=json&debug=true&debug.explain.structured=true&hl=false&rows=10&indent=true&echoParams=all' \
 -X GET
curl: (3) URL rejected: Malformed input to a URL function

The fl parameter has white space which then blows up.

Here is how I fixed it in my app, but I sort of feel like the fix should be in curl-generator?

o19s/quepid@8e564fe

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions