addcart problem #103
Unanswered
eruruu
asked this question in
提问求助 / Support
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried to use the addcart command but can't make it happen, shopping cart keep showing empty, what's wrong with my input?
this is the command output
[doge@asf script]$ curl -X POST "http://192.168.2.6:1212/Api/Command" -H "accept: application/json" -H "Content-Type: application/json" -d "{"Command":"asfenhance"}"
{"Result":" ASFEnhance Version 1.7.25.0","Message":"OK","Success":true}
[doge@asf script]$ curl -X POST "http://192.168.2.6:1212/Api/Command" -H "accept: application/json" -H "Content-Type: application/json" -d "{"Command":"cart k04"}"
{"Result":" Shopping cart is empty\n","Message":"OK","Success":true}
[doge@asf script]$ curl -X POST "http://192.168.2.6:1212/Api/Command" -H "accept: application/json" -H "Content-Type: application/json" -d "{"Command":"addcart k04 322330"}"
{"Result":" ID: 322330 | Status: OK\n","Message":"OK","Success":true}
[doge@asf script]$ curl -X POST "http://192.168.2.6:1212/Api/Command" -H "accept: application/json" -H "Content-Type: application/json" -d "{"Command":"cart k04"}"
{"Result":" Shopping cart is empty\n","Message":"OK","Success":true}
[doge@asf script]$
Beta Was this translation helpful? Give feedback.
All reactions