Uploading images from iOS to Vapor

Hi there, how can I receive and process image data on vapor from a iOS app?

Has anyone done this before?

Thanks!

@0xtim Can you please help with this when you get a chance? Thank you - much appreciated! :]

1 Like

@devjorge16 it depends on how you are sending it, but you can send it as a multipart form and just use Codable. Check out https://docs.vapor.codes/3.0/multipart/overview/ for more details

3 Likes

Thanks @0xtim! I’ll check it out