A simple scripting language in C++
Ferenc Szontágh
2025-04-18 3bb117e4fee72c4d4019c575bf0cb21043584954
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);