Passing byte[] - BlueCat Integrity - 9.3.0

Address Manager API Guide

Locale
English
Product name
BlueCat Integrity
Version
9.3.0

The byte[] parameter is passed in the HTTP body.

API call example
http://<AddressManager_IP>/Services/REST/v1/uploadResponsePolicyFile?parentId=123456

Authorization: BAMAuthToken: UTtSjMTQ1ODAzMTgzMDUxMzphcGk=
Content-Type: multipart/form-data

HTTP body

Upload file for the above listed APIs in REST API client.

curl example
curl -X POST \
http://<AddressManager_IP>/Services/REST/v1/uploadResponsePolicyFile?parentId=123456 \
-H 'Authorization: BAMAuthToken: <token>' \
-H 'Content-Type: multipart/form-data' \
-F 'data=@<path_to_file>' 

Successful response

No response.