I don't see anywhere a simple example regarding how to get a file from an API user via web api. here's my function signature ( modified for stackoverflow ) :
[HttpPost]
[Route("api/Tasks/CreateTaskWithFileOption")]
public TaskDetailsRequestModel CreateTaskWithFileOption(string token, int templateId, byte[] fileForSignature = null)
That i don't get values when trying to send a parameter to my service, what the right way to implement it ? ( put aside authorization , the only thing i need is to understand how to pass that byte array )