Sending multiple file data with other parameters to server

I want to send the below parameters to server using API call.

Image1 : path of image1 (File)
Image2 : path of image2 (File)
Latitude1 : lattitude1 (flaot value)
Longitude1 : longitude1 (flaot value)
Latitude2 : lattitude2 (flaot value)
Longitude2 : longitude2 (flaot value)
UserId : userid (integer)
message : message text (string)

I am able to send only one image using file transfer plugin. But I want to send these data at a time.
Please suggest me how to do it. Its urgent.

I answer here how o do it. I don’t use any plugin.

1 Like