JapanProducts-job-hunt-site / Ver_3

1 stars 0 forks source link

Use base64 for saving image #41

Open ykrsm opened 7 years ago

ykrsm commented 7 years ago

Routes

* PUT /user/uploadpic

In Json format

{
  binary: Base64,   // image data in base 64 format
  contentType: string //extension of image (png, jpg, etc.)
  update: boolean,  // True if updating image. False if first time
  delete: boolean,   // True if deleting image
}