http request and drag-and-drop functionality