Browse Source

add jsonp example to curldemo

master
Markus Bergholz 3 years ago
parent
commit
582e9bbedb
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      curldemo.sh

+ 3
- 0
curldemo.sh View File

@@ -20,3 +20,6 @@ curl -w '\n' http://127.0.0.1:8888/rpush/tinywebdis/dyad
curl -w '\n' http://127.0.0.1:8888/rpush/tinywebdis/redis
curl -w '\n' http://127.0.0.1:8888/llen/tinywebdis
curl -w '\n' http://127.0.0.1:8888/lrange/tinywebdis/0/-1

# jsonp
curl -w '\n' http://127.0.0.1:8888/get/a:b?callback=myfunc

Loading…
Cancel
Save