Change HTTP method from POST to PUT for endpints add, remove trailing add from URL
Whitespace fix