Fix REST-like url