Using Postman
-
Open Postman and create a new request.
-
Select the POST method.
-
In the URL field, enter the endpoint of the ClamAV API service.
-
In the Body tab, select the binary radio button and click the Choose Files button.
-
Select the file or image that you want to scan and click the Open button.
-
Click the Send button to send the request.
-
Postman will display the response from the ClamAV API service. If the file or image is clean, the response will contain the following message:
JSON
{
"scan_result": "clean"
}
-
If the file or image is infected, the response will contain the following information:
JSON
{
"scan_result": "infected",
"viruses": ["virus_name_1", "virus_name_2", ...]
}