Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4856

Beginners • Re: "Post" a json string to a port

$
0
0
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:

Code:

pi@raspberrypi:~ $ curl -d  {"command": "getAllCameras"} http://192.168.0.106:1025curl: (3) unmatched close brace/bracket in URL position 14:getAllCameras}             ^
I will keep on fighting . . . . . . . . . .

Statistics: Posted by Gerald_D — Sun Apr 21, 2024 6:05 am



Viewing all articles
Browse latest Browse all 4856

Trending Articles