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

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

$
0
0
Thank you rpdom! That worked perfectly

And now the million dollar question: I want to send the following multiline json to the same port:

Code:

{"command": "sendCameraCommand","cameras": ["GoPro 9464"],"cameraCommand": "startRecording"}
How do I treat each end of line in the json?

Statistics: Posted by Gerald_D — Sun Apr 21, 2024 9:04 am



Viewing all articles
Browse latest Browse all 5359

Trending Articles