# DownloadRemediationNoteFile

## Parameters

The following URL, Headers and Parameters are required for requests to this API endpoint. Where a parameter is optional, it will be indicated. Otherwise treat all parameters as mandatory.

### Headers

```
GET /api/ss/vulnerability/:vulnerabilityId/remediationNote/:remediationNoteId/file/:fileName HTTP/1.1
Host: demo.attackforge.com
X-SSAPI-KEY: APIKey
Content-Type: application/json
Connection: close
```

### Query

**vulnerabilityId (*****string*****)**

Identifier for the vulnerability.

Example:

```
GET /api/ss/vulnerability/5f63de24fa1c9208d3e140b0/remediationNote/:remediationNoteId/file/:fileName HTTP/1.1
```

**remediationNoteId (*****string*****)**

Identifier for the remediation note.

Example:

```
GET /api/ss/vulnerability/:vulnerabilityId/remediationNote/5e8017d2e1385f0c58e8f4f8/file/:fileName HTTP/1.1
```

**fileName (string)**

Storage name for the file.

Example:

```
GET /api/ss/vulnerability/:vulnerabilityId/remediationNote/5e8017d2e1385f0c58e8f4f8/file/o23kuixb8c34fm4gbehndpwzuemegvufjzc7jfkh5xlrmlswl4smfyslj65vuupcv5cc21hizhiiysa1bh5ibiwio17vzpzr63n6xtfh9yvzso4ete6qyh55ez5o6in1 HTTP/1.1
```

## Example

The following example is a cURL request to get a file on a remediation note.

### Request

Include API Token instead of stars in 'X-SSAPI-KEY: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*' parameter.

{% code overflow="wrap" %}

```
curl -X GET 'https://demo.attackforge.com/api/ss/api/ss/vulnerability/5f63de24fa1c9208d3e140b0/remediationNote/5e8017d2e1385f0c58e8f4f8/file/hzib81wyo0xp2xns7di9og990ylc3tfgqxd1yxor7k7n6xswxx98w1eohkvnnrrxgswsvkbqzubisikfezgtac3bqydwi9p0wcjrxjgzhjk8esadnf4kczyakoaedpmt' -H 'Host: demo.attackforge.com' -H 'X-SSAPI-KEY: ***************************************' -H 'Content-Type: application/json' -H 'Connection: close'
```

{% endcode %}

### Response

Response contains binary data. If using curl, use option --output to save the binary response as a file e.g.

```
curl <as above> --output image.png
```
