0

I am uploading Image on server using Alamofire only (without using any model class). I've tried multiple link for e.g upload image to server using Alamofire in every Link I stuck on this issue " Cannot invoke 'data' with an argument list of type '(using: String.Encoding)' " I do not understand what went wrong. kindly let me know below is my code:

Required parameters are

 /*
name:test, 
description:testing testing, 
image:**filetype** , 
user_id:63, 
add_by:63
*/

screenshot

Yonat
  • 4,382
  • 2
  • 28
  • 37
Kanika
  • 1

1 Answers1

0

You should downcast the value as a string and not as anyobect.

Nisarg Shah
  • 724
  • 5
  • 12