Browse Source

Add demo link for public for curl rest test

master
Sambo Chea 2 months ago
parent
commit
50bb10a78f
  1. 2
      README.md
  2. BIN
      exported.png

2
README.md

@ -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

Binary file not shown.

After

Width: 600  |  Height: 400  |  Size: 13 KiB

Loading…
Cancel
Save