On 1/22/2015 4:31 PM, Carl Roberts wrote:
> Hi Walter,
>
> If I try this from my Mac shell:
>
>     curl
> http://localhost:8983/solr/nvd-rss/select?wt=json&indent=true&q=summary:"Oracle
> Fusion"
>
> I don't get a response.

Quotes are a special character to the shell on your mac, and get removed
from what the curl command sees.  You'll need to put the whole thing in
quotes (so that characters like & are not interpreted by the shell) and
then escape the quotes that you want to actually be handled by curl:

curl
"http://localhost:8983/solr/nvd-rss/select?wt=json&indent=true&q=summary:\"Oracle
Fusion\""

Thanks,
Shawn

Reply via email to