website progress
This commit is contained in:
parent
6b15c9e20c
commit
e9afde5216
7 changed files with 360 additions and 6 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue