Send data and file to php server for registration

Hello everyone,

Anyone here, implemented the functionality of registration with image uploaded to php server.

What I want to do is on the registration page user enter some information and also capture an image from the camera. which is all together send to the server.

I’ve the data on hand and imageURL/ImageData.

Just need help in sending/uploading it to the server using formdata or filetransfer plugin.

I’m following this tutorial https://devdactic.com/ionic-2-images/ but it uses the filePath plugin which is not supported for iOS.

What to do please help!

Thanks.

Try http post of binary file?

1 Like

How to send data and images(can be multiple) with http post using formdata?
Any sample code?
Please share.
Thanks

Google is your best friend, not me

https://www.google.nl/search?q=http+post+binary+file+angular2

That made me LOL. And I don’t often LOL at my phone