04-11-2018 06:11 PM - last edited on 08-10-2022 02:25 PM by Paul Zimmerman
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.
04-12-2018 11:19 AM
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
04-12-2018 11:19 AM
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
04-12-2018 05:54 PM
Turns out that I had an additional slash in the header: 'content-type:/ multipart/form-data;' should be: 'content-type: multipart/form-data;'
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide