Hi @Yaron,
you can definitely get rid of the "/rest" prefix by setting the Engine BasePath property to empty string (by default the engine has 'DefaultEngine' as Name and '/rest/ as BasePath):
class constructor TServerEngine.CreateEngine;
begin
FEngine := TMARSEngine.Create;
try
// Engine configuration
FEngine.BasePath := ''; // <==============
FEngine.Parameters.LoadFromIniFile;
// Application configuration
FEngine.AddApplication('DefaultApp', '/default', [ 'Server.Resources.*']);
If you want to push this thing futher, you can even think about inheriting your own TMARSActivation class and shortcut request matching by overriding FindMethodToInvoke method.
HTH
Sincerely,
Andrea