User Tools

Site Tools


curl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
curl [2015/08/25 08:30]
mihael
curl [2017/10/12 11:21] (current)
mihael
Line 21: Line 21:
   curl http://​localhost/​resource?​q=query_expression&​start=0&​rows=0   curl http://​localhost/​resource?​q=query_expression&​start=0&​rows=0
  
-If this url is used with curl than the parameters //start// and //rows// are being dropped and the curl process is executed in the background. Why? Because the first & tells the shell where you executed the curl command ​to execute the command in the background. The shell won't recognize it as part of the url.+If this url is used with curl than the parameters //start// and //rows// are being dropped and the curl process is executed in the background. Why? Because the first & tells the shell to execute the command in the background. The shell won't recognize it as part of the url.
  
 Solution: Use double quotes. Solution: Use double quotes.
curl.txt ยท Last modified: 2017/10/12 11:21 by mihael