github.com/vishnupahwa/lakctl@v0.0.2-alpha/example.http (about)

     1  GET http://localhost:8008/
     2  # Get the command PID
     3  ###
     4  PUT http://localhost:8008/start
     5  # Start the command with the original 'run' command
     6  
     7  ###
     8  ###
     9  PUT http://localhost:8008/stop
    10  # Stop the command
    11  
    12  ###
    13  ###
    14  POST http://localhost:8008/restart/
    15  Content-Type: application/json
    16  
    17  {
    18    "old" : "video-ft.yml",
    19    "new" : "/tmp/config.yml"
    20  }
    21  
    22  ###
    23  
    24  GET http://localhost:9999
    25  
    26  ###
    27  # Test the example app