Is there a way for a plugin to determine if Mantis is being accessed via a REST API call vs. the web UI?
I'm using the Basic_Auth plugin, which fails if the api is called, because the REMOTE_USER is not set.
detect REST call in plugin
Moderators: Developer, Contributor