Add ServerRequest class to test Api