fixes the put request.
Added .ipr and iws to the git ignore pattern. Also added the **~ to ignore backup files.
Added content type to the put method.