I am trying to update bugzilla bug status using curl command. I have valid api key but it says You must log in before using this part of Bugzilla.
curl -X PUT "http://tools.st.com/bugzilla/rest/bug/1&api_key=koGGmVyMBuY1fOtDZfXrWjM5uE2YTw"
-H "Content-Type: application/json"
-d '{
"status": "RESOLVED",
"comment": {
"body": "This bug has been resolved."
}
}'
{“message”:”You must log in before using this part of Bugzilla.”,”code”:410,”documentation”:”https://bugzilla.readthedocs.org/en/5.0/api/”,”error”:true}