Here, the endpoint is a path relative to the current page containing the ajax call (endpoint do not begin with a /).