I have a client written in xcode and I would like to upload the user pic to be stored on the server. The server run node js and I store the uploaded files with gridfs
How should I send the picture in nodejs query. Is it suppose to be binary format of the pic? If so, does this mean - the client should create a binary format of the image in xcode the client should send the binary format as string appended to the url request for node the server stores the string in gridfs the client retrieves the image and parse/present it as jpg/png image?