3 Apr
2023
3 Apr
'23
10:32
Carlos E. R. wrote:
curl -H tags:warning -H prio:high -d "Laptop warning" \ isengard.valinor/mytopic:2586
More likely: curl -H tags:warning -H prio:high -d "Laptop warning" \ isengard.valinor:2586/mytopic
but it is going to port 80 an apache responds instead. I tried to find how to specify a port in the curl manual, and failed, because the word "port" happens thousands of times in the word "supported" :-/
I only found "-P, --ftp-port" which is not it.
The portnumber is specified in the URL. You could just use wget if you're more familiar with that syntax. -- Per Jessen, Zürich (6.2°C) Member, openSUSE Heroes (2016 - present) We're hiring - https://en.opensuse.org/openSUSE:Heroes