use put instead of post to upload a file into sling repo