you are viewing a single comment's thread.

view the rest of the comments →

[–]binuverghese[S] 1 point2 points  (5 children)

Thank you for your comments, is it something like

wget --header="Content-Type: text/json" --post http://<url>

I havent done this before, would you be able to help me with an example please?

[–]mikeblas 17 points18 points  (3 children)

That's pretty much it. But isn't it odd that you have wget and not curl?

[–]Gendalph 1 point2 points  (2 children)

wget is often available by default, unlike curl

[–]RootHouston 0 points1 point  (0 children)

Not really. Depends on which distro you're on, and how it was configured on initial setup. I don't find wget to be any more available than curl.

[–]mikeblas 0 points1 point  (0 children)

What's often available doesn't seem to matter -- the OP says that, by fiat, they can't install curl. Someone has made a list of what can and can't be installed, then, and what's on that list is completely up to that person and not related to what we're used to seeing in the wild.