Adding an endpoint for data