Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Hi,
I try to upload a file, stage 1 is ok, but stage 2 return an empty json like this;
{
"contentInfos":[]
}
My code in C# is this;
Maybe the way i get the stream of the file is not the correct or the content type.
Help on this is appreciated.
Solved! Go to Solution.
Just for the record, I made some changes in my code and then now I get a correct answer;
lstStreamIds should by StreamIds+FileNames+StreamIds. And I'm not sure about the rest because I'm not familiar with C#.
You're right, but actually my fileNames and StreamsIds have the same value;
An additional information, the request directly in Postman execute correctly;
Just for the record, I made some changes in my code and then now I get a correct answer;