I'm developing a widget which should do photo uploads. After a successful upload the widget should display the newly uploaded photo.

Photos are uploaded using HTTP POST to a REST API. The API will...