change 'myURL' to '/upload' in code snippet