Fixed trailing slash in POST requests