We've been trying to use the Secure Storage Service on a flash-based IR829. We're using IOx 1.5.15. Unfortunately, we're unable to post objects successfully, now having read the documentation several times over.
Here's a sample session. First, we successfully retrieve the authentication token:
curl -v "http://$CAF_SS_IP_ADDR:$CAF_SS_PORT/SS/TOKEN/$CAF_APP_ID/$IOX_TOKEN"
...then with the returned token as AUTH_TOKEN:
curl -v "http://$CAF_SS_IP_ADDR:$CAF_SS_PORT/SS/$CAF_APP_ID/Object" -H 'content-type:/ multipart/form-data;' -F "ss-Token=$AUTH_TOKEN" -F "Object-type=Object" -F "object-Name=objname" -F "ss-Content=hi"
...curl reports:
curl: (52) Empty reply from server
Can you please advise on what we may be doing incorrectly?
Solved! Go to Solution.
Hi Christopher,
Please refer to the sample usage sections for Secure storage service and let us know if it doesn't help.
https://developer.cisco.com/docs/iox/#secure-storage-service-and-api/sss-usage
thanks & regards
Mahesh kumar.L
Hi Christopher,
Please refer to the sample usage sections for Secure storage service and let us know if it doesn't help.
https://developer.cisco.com/docs/iox/#secure-storage-service-and-api/sss-usage
thanks & regards
Mahesh kumar.L
Turns out that I had an additional slash in the header: 'content-type:/ multipart/form-data;' should be: 'content-type: multipart/form-data;'