Thanks for your help. The above suggestions did work well for our automation.
Currently, we want to run ZAP for more than one Rest APIs. We are following MVC architecture to build our Rest API.
The Rest APIs are configured under controller class where views are being used for logical to physical URL mapping.
So the Traditional Spider is not fetching all the Rest API URLs.
Is there any workaround or any better way like scripting if you can suggest, would be very much helpful.
Again, Thanks for your help.
Regards,
Gaurav