如何使用没有库的纯 js 从 graphql 服务器获得响应?例如,我如何使用XMLHttpRequest? 查询和 serverUrl 如下:const serverUrl = 'http://example.com/graphql/'const query = { query: `{ viewer { date } }`};
添加回答
举报
0/150
提交
取消