ModelPublishedRestService POST File: Get File Name
0
Hi, there’s something pretty obvious I’m missing here. When setting up a PRS taking a single argument that is a System.FileDocument type or generalization, I cannot seem to find out how to let the instance of the FileDocument have it’s name set to that of the File posted. As far as the options I can see... And debugging, the FileDocument: The request body: I’m using the following for testing curl -F "data@./res/a.png" $HOST$PORT$ENDPOINT Thankyou in advance
asked
𝕺𝖈𝖐𝖊𝖗𝖙 𝖛𝖆𝖓 𝕾𝖈𝖍𝖆𝖑𝖐𝖜𝖞𝖐
2 answers
1
Since it is a system.object attribute and the service configuration don't provide dynamic support for this, I would say that the only way is to change it in the microflow. What is the reason you don't want to change the name in your mf as it is available in your content-disposition. Would that differ that much when done natively?
answered
Sinan Karakurt
0
Hi @Dcfert, is there any update on this ? I’m also facing the same issue. Did anyone fix this with any alternate way ?