put works with a request from the index.html file...