Add demo link for public for curl rest test
This commit is contained in:
parent
e2e5d82e89
commit
50bb10a78f
@ -14,7 +14,7 @@ The application will run at port 8080 with exposed host port (the left one).
|
|||||||
### Testing
|
### Testing
|
||||||
Try to test export charts data with export server that we running above.
|
Try to test export charts data with export server that we running above.
|
||||||
```shell
|
```shell
|
||||||
curl -H "Content-Type: application/json" -X POST -d '{"infile":{"title": {"text": "Income"}, "xAxis": {"categories": ["01-03-2021", "02-03-2021", "03-03-2021"]}, "series": [{"data": [100.00,250.50,500.00]}]}}' http://yourhost.tld:8080 -o exported.png
|
curl -H "Content-Type: application/json" -X POST -d '{"infile":{"title": {"text": "Income"}, "xAxis": {"categories": ["01-03-2021", "02-03-2021", "03-03-2021"]}, "series": [{"data": [100.00,250.50,500.00]}]}}' http://charts-exporter.osa.cubetiqs.com -o exported.png
|
||||||
```
|
```
|
||||||
|
|
||||||
# Documentation from Highcharts
|
# Documentation from Highcharts
|
||||||
|
BIN
exported.png
Normal file
BIN
exported.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
Loading…
Reference in New Issue
Block a user