curl --request POST \ --url https://api.projectdiscovery.io/v1/assets \ --header 'Content-Type: application/octet-stream' \ --header 'X-API-Key: <api-key>'
{ "message": "<string>", "upload_status": "<string>", "asset_id": "<string>", "uploaded_at": "<string>", "name": "<string>" }
name of asset
The body is of type file.
file
Was this page helpful?