superagentというパッケージを利用します。 const request = require('superagent'); request .post('http://localhost:8080') .send(` query { user(name: "香風智乃") { name, age } }`) .end((_, res) => { console.log(JSON.parse(res.text)); }); めち…
引用をストックしました
引用するにはまずログインしてください
引用をストックできませんでした。再度お試しください
限定公開記事のため引用できません。