by
0
6
173k
10
Top 1% !
Popular
Pearl of Wisdom
Tagged
Specified
OpenSource
Popularity: 10325th place

Published on:

Languagebash
LicenseMIT_X11

curl to send a GET HTTP request with query parameters

Try to perform a GET HTTP to snip2code server, to list the public snippets in Channels.

URL example to get: https://www.snip2code.com/Explore/InChannel?q=test&sort=0&direction=1

Options:

-d: list all query parameters
-G: perform GET verb
Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
src="https://www.snip2code.com/Embed/428034/curl-to-send-a-GET-HTTP-request-with-que?startLine=0"></iframe>
Click on the embed code to copy it into your clipboard Width Height
Leave empty to retrieve all the content Start End
curl -v -L -G -d "q=test&sort=0&direction=1" https://www.snip2code.com/Explore/InChannel
If you want to be updated about similar snippets, Sign in and follow our Channels

blog comments powered by Disqus