Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/374.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/eclipse/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
JavaGraphQLAPI运行良好。我希望能够使用schema.graphql中的查询从浏览器的前端发送查询。什么';用什么?_Java_Mysql_Spring_Eclipse_Graphql - Fatal编程技术网

JavaGraphQLAPI运行良好。我希望能够使用schema.graphql中的查询从浏览器的前端发送查询。什么';用什么?

JavaGraphQLAPI运行良好。我希望能够使用schema.graphql中的查询从浏览器的前端发送查询。什么';用什么?,java,mysql,spring,eclipse,graphql,Java,Mysql,Spring,Eclipse,Graphql,我希望能够从前端而不是从postman发送java GraphQLAPI查询。Reactjs强迫我再次重写查询,但我在src/main/resources中有一个名为schema.graphql的文件。如何在该文件中包含和使用这些查询?您已经尝试过的代码是什么?你被卡在哪里了?

我希望能够从前端而不是从postman发送java GraphQLAPI查询。Reactjs强迫我再次重写查询,但我在
src/main/resources
中有一个名为
schema.graphql
的文件。如何在该文件中包含和使用这些查询?

您已经尝试过的代码是什么?你被卡在哪里了?