yambejp2020/04/24 01:12 編集window.addEventListener('DOMContentLoaded', ()=>{ var url="・・・・"; const data={post1:123,post2:"日本語"}; const body = Object.entries(data).map(arg=>arg[0]+"="+encodeURIComponent(arg[1])).join("&"); url+="?"+body; fetch(url).then(res=>res.text()).then(console.log); });