Added a .gitignore.
Authentication working.
Add Content-Type/Content-Length only when using POST.