Handling image uploads

Image Uploader requirements

A server-side upload handler script uploads local images to a remote server. The script must:

  • Accept the images on the server
  • Store images appropriately
  • Return a JSON object containing the image’s upload location

This server-side upload handler script must return a JSON object containing a "location" property. This property represents the remote location and filename of the newly uploaded image.

{ location: '/uploaded/image/path/image.png' }

Comments

Leave a Comment

All fields are required. Your email address will not be published.