add .gitignore file and fix put for API calls