mirror of
https://github.com/nlepage/go-wasm-http-server.git
synced 2026-01-12 01:59:14 +00:00
⚗️
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<script src="https://cdn.jsdelivr.net/gh/nlepage/go-wasm-http-server@21aa954d1c747b6e556c42eacb5a17478245dd17/index.js"></script>
|
||||
<script>
|
||||
async function hello() {
|
||||
res=await fetch('api/hello', {
|
||||
res = await fetch('api/hello', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
|
||||
Reference in New Issue
Block a user