有没有办法使用 terraform 来完成这个 http 请求?
POST https://graph.microsoft.com/v1.0/$batch
Accept: application/json
Content-Type: application/json
{
"requests": [
{
"id": "1",
"method": "GET",
"url": "/name?$filter=id in ('id1','id2'...'id20')"
},
{
"id": "2",
"method": "GET",
"url": "/name?$filter=id in ('id21'...)"
}
]
}
Terraform 文档https://registry.terraform.io/providers/hashicorp/http/latest/docs/data-sources/http