blob: 0d31f963443e255460864d3f7d2cbc7a634ac296 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/usr/bin/env bash
curl -X POST http://localhost:8081/deleteStars
curl -X POST http://localhost:8081/deleteNodes
curl -X POST --data "w=1000" http://localhost:8081/new
curl -X POST --data "x=300&y=300&vx=0.1&vy=0.3&m=100&index=1" http://localhost:8081/insertStar
curl -X POST --data "x=200&y=200&vx=0.1&vy=0.3&m=100&index=1" http://localhost:8081/insertStar
curl -X POST --data "x=400&y=400&vx=0.1&vy=0.3&m=100&index=1" http://localhost:8081/insertStar
curl -X GET http://localhost:8081/starlist/go
curl -X GET http://localhost:8081/starlist/csv
|