Is it possible to upload a model together with files in one request instead of giving the id of the uploaded file?
instead of
POST -> http://localhost:1337/test-model
{
“displayName”: “hello”,
“someFiles”:“3”
}
something like
POST -> http://localhost:1337/test-model
{
“displayName”: “hello”
}
someFiles -> is name of uploaded files as key value like in the screenshot
Error
{
"statusCode": 400, "error": "Bad Request", "message": "When using multipart/form-data you need to provide your data in a JSON 'data' field."
}