Hi guys,
I need to create a rest api to expose a method that receives a csv file as parameter. I'm not sure about the best way to do this. The method should be put? The parameter should be a binary? Any ideas?
Thanks
Hi Pedro,
For expose the API for file, you just have to use EXPOSE REST API option in Service Studio, then set the method as PUT, and assign a Binary Data input parameter and choose to receive in Body. Below are some screenshots for your reference.
Hope this help.
Thanks Kay. It works!
Check this post, it is similar to your request
https://www.outsystems.com/forums/discussion/39830/rest-put-binary-content
Hope that it helps you
Thanks Alexandre