website progress

This commit is contained in:
Jorijn van der Graaf 2025-11-12 15:58:04 +01:00
commit e9afde5216
7 changed files with 360 additions and 6 deletions

View file

@ -7,7 +7,6 @@ int main(){
SetInnerHTML(body, "<h1>Fetch Example</h1><p>Testing HTTP requests...</p>");
Fetch("https://httpbin.org/get", [body](std::string result){
std::cout << "callback recieved2" << std::endl;
if (!result.empty()) {
SetInnerHTML(body, "<h1>Fetch Example</h1><p>Response: " + result + "</p>");
} else {