NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: jenseden on October 06, 2019, 03:07:53 AM
-
Hi all,
my web API must be able to receive a file from the client. The example provided uses a web form for uploading a file, but I need this functionality in a Web API method. What would be the "right" way to do this? I am on NT11.22.
Thanks in advance,
Jens
-
https://www.nettalkcentral.com/forum/index.php?topic=8310.0
-
Hi Jens,
<< my web API must be able to receive a file from the client.
so set a parameter of type "file".
>> The example provided
which example? File Upload (26)? that's no a Web API example.
>> What would be the "right" way to do this?
Create a WebServiceMethod procedure, with a parameter of type FILE.
cheers
Bruce