Internal http endpoint