A simple scripting language in C++
Ferenc Szontágh
2025-04-19 7b8e75d80186b67eb4a8dbf83330bc92a2bce03e
1
2
3
4
5
6
7
8
string $url = "https://jsonplaceholder.typicode.com/posts";
 
string $postData = "{\"title\":\"foo\",\"body\":\"bar\",\"userId\":1}";
 
printnl("Posting data: '",$postData,"' to URL: ", $url);
string $response = curlPost($url, $postData);
 
printnl("Response: ", $response);