cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
17013
Views
2
Helpful
2
Replies

Empty reply from Secure Storage Service

huntc
Level 4
Level 4

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?

1 Accepted Solution

Accepted Solutions

mahlaksh
Cisco Employee
Cisco Employee

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

View solution in original post

2 Replies 2

mahlaksh
Cisco Employee
Cisco Employee

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;'