C++ Endpoint working.