Domanda

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?

È stato utile?

Soluzione

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

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

You can refer to RFC 2616

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top