Skip to content

Instantly share code, notes, and snippets.

@nazt
Last active September 19, 2017 05:48
Show Gist options
  • Select an option

  • Save nazt/960a66cfd97f9788b5d0e20de810efbc to your computer and use it in GitHub Desktop.

Select an option

Save nazt/960a66cfd97f9788b5d0e20de810efbc to your computer and use it in GitHub Desktop.
put.sh
# V1
curl -X PUT "http://api.netpie.io/topic/TraffyPatong/v/1/time/id/1001?retain&auth=tN5raLDu2VRFqS8%3Aej78ZOAB8bMqxyym1UbC8CtGd"-d 30
curl -X PUT "http://api.netpie.io/topic/TraffyPatong/v/1/time/id/1002?retain&auth=tN5raLDu2VRFqS8%3Aej78ZOAB8bMqxyym1UbC8CtGd"-d 30
curl -X PUT "http://api.netpie.io/topic/TraffyPatong/v/1/time/id/1003?retain&auth=tN5raLDu2VRFqS8%3Aej78ZOAB8bMqxyym1UbC8CtGd"-d 30
curl -X PUT "http://api.netpie.io/topic/TraffyPatong/v/1/time/id/1004?retain&auth=tN5raLDu2VRFqS8%3Aej78ZOAB8bMqxyym1UbC8CtGd"-d 30
curl -X PUT "http://api.netpie.io/topic/TraffyPatong/v/1/time/id/1005?retain&auth=tN5raLDu2VRFqS8%3Aej78ZOAB8bMqxyym1UbC8CtGd"-d 30
#for Demo version
curl -X PUT "http://api.netpie.io/topic/TraffyPatong/v/1/time/id/1007?retain&auth=tN5raLDu2VRFqS8%3Aej78ZOAB8bMqxyym1UbC8CtGd" -d 30
#V2
curl -X PUT "http://api.netpie.io/topic/TraffyPatong/v/2/time/master/1?retain&auth=tN5raLDu2VRFqS8:ej78ZOAB8bMqxyym1UbC8CtGd"-d 30
curl -X PUT "http://api.netpie.io/topic/TraffyPatong/v/2/time/master/2?retain&auth=tN5raLDu2VRFqS8:ej78ZOAB8bMqxyym1UbC8CtGd"-d 30
curl -X PUT "http://api.netpie.io/topic/TraffyPatong/v/2/time/master/3?retain&auth=tN5raLDu2VRFqS8:ej78ZOAB8bMqxyym1UbC8CtGd"-d 30
curl -X PUT "http://api.netpie.io/topic/TraffyPatong/v/2/time/master/4?retain&auth=tN5raLDu2VRFqS8:ej78ZOAB8bMqxyym1UbC8CtGd"-d 30
// for Demo version
curl -X PUT "http://api.netpie.io/topic/TraffyPatong/v/2/time/master/5?retain&auth=tN5raLDu2VRFqS8:ej78ZOAB8bMqxyym1UbC8CtGd" -d 30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment