plugins.http 910 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. ###
  2. POST http://127.0.0.1:9081/plugins/sources
  3. Content-Type: application/json
  4. {"name":"random2","file":"http://127.0.0.1/plugins/sources/random2.zip","callback":""}
  5. ###
  6. GET http://127.0.0.1:9081/plugins/sources
  7. ###
  8. DELETE http://127.0.0.1:9081/plugins/sources/random2
  9. ###
  10. POST http://127.0.0.1:9081/plugins/sinks
  11. Content-Type: application/json
  12. {"name":"random2","file":"http://127.0.0.1/plugins/sources/random2.zip","callback":"http://www.mycallback.com/callback"}
  13. ###
  14. GET http://127.0.0.1:9081/plugins/sinks
  15. ###
  16. DELETE http://127.0.0.1:9081/plugins/sinks/random2?callback=http%3A%2F%2Fwww.mycallback.com%2Fcallback
  17. ###
  18. POST http://127.0.0.1:9081/plugins/functions
  19. Content-Type: application/json
  20. {"name":"random2","file":"http://127.0.0.1/plugins/sources/random2.zip","callback":""}
  21. ###
  22. GET http://127.0.0.1:9081/plugins/functions
  23. ###
  24. DELETE http://127.0.0.1:9081/plugins/functions/random2
  25. ###2217