Add trailing slash to write client urls. Remove dataType option