Click here to Skip to main content
15,902,112 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have to design an POST API, this post API will get data from JS which will be a multiple image js will send imgaes through multiform post.

How can i access that image and save it to my desired location.

through normal stream reader or form post i am not getting any thing.

Thanks in advance.
Posted

1 solution

Convert image file to byte array while Posting it to API. Write code to convert byte array to file and you can save the file at any desired location.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900