Passing byte[] - BlueCat Address Manager - 9.4.0

Address Manager API Guide

Locale
English (United States)
Product name
BlueCat Address Manager
Version
9.4.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.