I have installed Bugzilla 5.0.2 and tried accessing it through REST Api but I'm not able to access it.
I'm getting the following message.
"The REST Interface feature is not available in this Bugzilla."
I tried to access
http://bugzillaserver/bugzilla/rest.cgi from the browser
But that also displays the same message.
The issue was with optional perl modules.
Installed optional perl modules, now it is working fine.