Fixed incorrect endpoint url