const response = await window.fetch(url,{ method:'post', body:body, headers: { 'Content-Type': 'application/x-www-form-urlencoded' } }) if (response.ok) { const res = await response.json(); }