Hi All,

I have gone through the available sample [1]  on how to process a stream
and read and save files in msf4j. However given a request with form fields
like [2] , how can we retrieve those form fields in msf4j? If it is to read
from the stream itself, any suggested way to do this?

[1]
https://github.com/wso2/msf4j/blob/652435ee7f8fdf31307667adb888e9a13513f6d8/samples/petstore/microservices/fileserver/src/main/java/org/wso2/msf4j/examples/petstore/fileserver/FileServerService.java

[2] curl --form
"fileupload=@Desktop/bigdot.png;filename=desired-filename.txt" --form
param1=value1 --form param2=value2 http://localhost:8080/bps/repo/stream

Thanks,

Himasha Guruge
*Software Engineer*
WS*O2* *Inc.*
Mobile: +94 777459299
[email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to