Handle 204 response code as success

This needs to be changed in future to use the success callback instead of
doing it this way.
Remove an unnecessary forward slash