Forum Discussion

Matt_Phelps_142's avatar
Matt_Phelps_142
Icon for Altocumulus rankAltocumulus
Sep 27, 2017
Solved

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 en...
  • Kevin_K_51432's avatar
    Sep 28, 2017

    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