I have done coding
public JSONResult media(HttpPostedFileBase file)
{
=====done with some code===
}
Here i m getting the file as null always.
Note:
file is the file submitted from the Phonegap’s JSON method.
My question is :
Is there any mechanism for the decoding the encoded multipart file before reading?
Got it 🙂
Use the request params for getting the file input and changed the method as
added request.files and stored in HTTPcollectionfile base and got the same file information posted in the PhonegapAPI