Correct usage of string join method

The join does not perform the operation correctly.
Incorrect PUT url was created