Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/78.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
如何使用Rstudio的SPARQL包进行POST而不是GET_R_Sparql - Fatal编程技术网

如何使用Rstudio的SPARQL包进行POST而不是GET

如何使用Rstudio的SPARQL包进行POST而不是GET,r,sparql,R,Sparql,在SPARQL R包中使用POST而不是GET请求的参数或语法是什么 我试过这个: > qde <- SPARQL(endpoint,querye,update = "LOAD",curl_args=list(method="post")) Opening and ending tag mismatch: hr line 5 and body Opening and ending tag mismatch: body line 3 and html Premature end of

在SPARQL R包中使用POST而不是GET请求的参数或语法是什么

我试过这个:

> qde <- SPARQL(endpoint,querye,update = "LOAD",curl_args=list(method="post"))
Opening and ending tag mismatch: hr line 5 and body
Opening and ending tag mismatch: body line 3 and html
Premature end of data in tag html line 1
Error: 1: Opening and ending tag mismatch: hr line 5 and body
2: Opening and ending tag mismatch: body line 3 and html
3: Premature end of data in tag html line 1
In addition: Warning message:
In mapCurlOptNames(names(.els), asNames = TRUE) :
Unrecognized CURL options: method
>qde From the docs:“如果参数“query”给定,则假定给定的查询是SELECT查询,并将执行GET请求以从端点的URL获取结果。否则,如果参数“update”“如果给定,则假定给定的查询是更新查询,并且将执行POST请求以将请求发送到端点的URL。”(?)重复。