Reputation: 13
What about code of Submit a file for static analysis - HTML create on Insomnia? https://api.labs.sophos.com/doc/analysis/file/static.html describe only 3!
Upvotes: -3
Views: 198
Reputation: 1636
The 'Static File Analysis - HTML' option that is shown on our video refers to calling the static file analysis part of the API and including the parameter report_format=html
. This will ensure that the response from the API is given in HTML rather than the default of JSON.
You mention that our API documentation shows 3 submissions (1 post and 2 gets) each of these submissions will accept the report_format
option which has two options (JSON which is the default and HTML). This has lead to the 6 items that you can see in Insomnia in our video.
Upvotes: 2