endpoints and http