|
Post by egghead on Oct 15, 2020 5:51:08 GMT
I already have several webservices written in PHP, .NET and RoR which do not use REST and which require the user to browse to the image file and click a button to upload it to the webserver.
I tried to use Network.uploadFile with these by passing the webservice URL and other parameters, but the image file is not getting uploaded.
Does Rho::Network.uploadFile always require a REST webservice/API for image upload?
If anyone has accomplished this without using Rhoconnect, I would be thankful if some sample code can be provided.
|
|
|
Post by Vladimir Musulainen on Oct 15, 2020 6:31:52 GMT
_Does Rho::Network.uploadFile always require a REST webservice/API for image upload?_
Sure, the Rho::Network.uploadFile just uses http POST request and you have to implement the endpoiint on the backend for receiveiving data
|
|
|
Post by egghead on Oct 23, 2020 14:28:05 GMT
Any sample backend code to achieve it?
|
|
|
Post by Vladimir Musulainen on Oct 23, 2020 15:00:59 GMT
|
|