I am trying new FDM APIs. In POST endpoints I am facing issue “Missing body for POST request”
Am I missing some parameters? I am using POST body as per documentation
Best answer by Snehal Jagtap
View originalI am trying new FDM APIs. In POST endpoints I am facing issue “Missing body for POST request”
Am I missing some parameters? I am using POST body as per documentation
Best answer by Snehal Jagtap
View originalIt looks like the external id field is required in the request.
I tried with this as well, still I am getting same issue. Am I missing something in request?
Hi
I'm quite new around here so I could be 3 steps behind you. But is that the correct url for applying spaces? Should "models" be replaced with "datamodelstorage" as below?
api/v1/projects/{project}/datamodelstorage/spaces
This is the payload I am trying to use in POST Space API
https://westeurope-1.cognitedata.com/api/v1/projects/slb-pdf/models/spaces
{
"items": [
{
"space": "snehal-test-space",
"description": "snehal-test-space",
"name": "snehal-test-space"
}
]
}
Headers :
--header 'content-type: application/json' \
--header 'cdf-version: alpha' \
--header 'Authorization: Bearer <token>’
Hi
It would be very helpful if you included the request payload you’re trying to use, resulting in the problem you’re experiencing?
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.