Someone
Someone

Reputation: 372

wget send $_GET data instead of $_POST data?

I know that I can run wget --post-data=key=value, but is there a way to send $_GET data instead? Such as through get-data?

Upvotes: 0

Views: 1092

Answers (1)

hek2mgl
hek2mgl

Reputation: 158060

GET data will be transmitted via the url. Like this:

wget http://your.server.net/?key=value

You can refer to RFC 2616

Upvotes: 1

Related Questions