
Sohlae (Community Member) asked a question.
I received this error when I tried to use httpie to invoke the Dynamic Scan API.
http --auth-type=veracode_hmac --ignore-stdin POST "https://api.veracode.eu/was/configservice/v1/analyses?run_verification=true&scan_type=API_SCAN" < C:\input.json
usage:
http -A/--auth-type {basic, digest, bearer, jwt} [METHOD] URL [REQUEST_ITEM ...]
error:
argument --auth-type/-A: invalid choice: 'veracode_hmac' (choose from 'basic', 'bearer', 'digest', 'jwt')
for more information:
run 'http --help' or visit https://httpie.io/docs/cli
.png)
@Sohlae (Community Member)
Are you mapping the veracode API credentials?
Try to "force" export of credentials and run HTTP CLI.