I am having an issue with both curl and powershell sending an NLF file for the license API. I've seen the example for the curl command, however, it doesn't work for me:
ken@ken-mac-0 licenses_NLF % curl -k -u admin:xxxxxx -d @NLF-4082368507-EE.txt -X POST "https://192.168.7.190/api/cluster/licensing/licenses/"
{
"error": {
"message": "Unexpected argument \"statusResp\".",
"code": "262179",
"target": "statusResp.statusCode"
}
}%
This is ONTAP 9.13 vsim
I get the same error for both MacOS and Linux.
The GET form on this works as expected.
This file works for both ansible and terraform.
I feel like I am missing something. Any ideas?