Add demo link for public for curl rest test

This commit is contained in:
Sambo Chea 2021-03-06 21:59:30 +07:00
parent e2e5d82e89
commit 50bb10a78f
2 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ The application will run at port 8080 with exposed host port (the left one).
### Testing
Try to test export charts data with export server that we running above.
```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

BIN
exported.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB