Any sample code to create a new bug in Bugzilla using the restful webservice API? What I have done so far is using Postman to see how it works:
The simple json code:
{
"product" : "TestProduct",
"component" : "TestComponent",
"summary" : "This is the best bug report",
"version" : "unspecified",
"description" : "This is the best GUI for reporting bugs"
}
This is the endpoint:
http://localhost/bugzilla/rest.cgi/rest/bug
The error log I'm getting:
{
"code": 32614,
"message": "A REST API resource was not found for 'POST /rest/bug'.",
"documentation": "https://bugzilla.readthedocs.org/en/5.0/api/",
"error": true
}