How to handle unergistered API Paramers?

Hi,

You can set server.SendExceptionsAs500 to False.

In this case, you will receive exception message


if you like to customize this error, you can

procedure TMyHttpApiDispatcher.Process(aTransport: IROHTTPTransport; aRequest: IROHTTPRequest;
  aResponse: IROHTTPResponse; aRequestData, aResponseData: TStream);
begin
  try
     inherited;
  except
     // <<<<<< customize the response? i.e. aResponse/aResponseData
  end;
end;