Forum Discussion
Shashank_jain
Nimbostratus
6 years agoifile creation
Hi All, i am trying to create an iFile with below curl command , curl -k -u username:password -H "Content-Type: application/json" -X POST -d '{"source":"/var/tmp/404.html","datastore":"ifile","sta...
Samir
MVP
6 years agoyou can try something like this.
curl -v -k -u admin:admin -X POST -H "Content-Type: application/json" -d '{"name":"404.html", "file-name": "/var/tmp/404.html"}' https://bigip_host/mgmt/tm/ltm/ifile/404.html