jaydata
jaydata copied to clipboard
ODataController action method is unable to catch array of string values snet from angular post method
I am sending a ajax request from angular based post method to ODataController action method.If i am sending a simple string,that is caught by OdataController action method.Sending an array fails to capture data at controller level.Is there any alternative by which i can achieve this? I need to pass multiple string values at a shot to controller.Any help this will be highly appreciable.
Stupidly dirty, but couldn't you just pass the string as a whole and perform a string.split()
after the Controller receives it?