remove clear endpoint
change content type to json