Try single quoting the argument to -d:Thanks memjr
Believe me, I have been pulling my hair out with curl and its options and syntax as a single line command. This is my best result to date:I will keep on fighting . . . . . . . . . .Code:
pi@raspberrypi:~ $ curl -d {"command": "getAllCameras"} http://192.168.0.106:1025curl: (3) unmatched close brace/bracket in URL position 14:getAllCameras} ^
Code:
curl -d '{"command": "getAllCameras"}' http://192.168.0.106:1025
Statistics: Posted by rpdom — Sun Apr 21, 2024 7:57 am