Hi all,
I’m currently trying to code up a C program that will generate JSON data and send it to my server to parse. The thing is that this program can run on any machine anywhere (a chat-type program that users can download).
I’m wondering if it’s possible to do this securely with JSON uploads and PHP parsing? This is still in architectural stages so I want to iron out the possibilities before actually coding.
An alternative option is that I can code the chat program to upload data to the MySQL server directly so I don’t need to go through a JSON parser. The only reason I would want to use JSON uploads is because the chat program will have an exposed API. Using JSON as a template for data upload is more programmer-friendly than having them upload with MySQL adds.
Is the alternative option possible? Or is the JSON method?
Stephen