Upload file segments to a Pipeline Scan with the REST API
This use case scenario provides the Pipeline Scan REST API request for uploading file segments.
Send the following request to upload file segments to a Pipeline Scan:
http --auth-type=veracode_hmac -f PUT "https://api.veracode.com/pipeline_scan/v1/scans/{scan_id}/segments/0" file@{filename}
Repeat this request for each segment, incrementing the number after /segments/
and specifying the next fragment, for example:
/segments/1
andxab
/segments/2
andxac