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