Matt_Phelps_142
Sep 27, 2017Altocumulus
Upload Certificate to BIG-IQ 5.3 with REST
Anyone have any experience uploading files to a BIG-IQ using the REST API? The API documentation for 4.2 details the /mgmt/shared/file-transfer/upload endpoint (also used by BIG-IPs) but while the endpoint still exists in 5.3, sending either a token or basic auth will result in a 401 (same code works for our BIG-IPs.) I did notice that the corresponding /download endpoint does not exist on our 5.3 BIG-IQ, so maybe file transferring is not implemented yet?
Greetings, I was able to upload, but haven't found the download just yet:
On my linux host:
cat fileo hey curl -s -k -u admin:admin -H 'Content-Type: text/plain' -H 'Content-Range: 0-2/3' -d @fileo -X POST https://172.24.171.25/mgmt/shared/file-transfer/uploads/fileo
On BIG-IQ (5.3):
cat /var/config/rest/downloads/fileo hey
Will let you know if I can find the download method.
Kevin