This week some of the rougher edges of the main spring boot and Echarts framework of the overall study, in addition to other postgraduate courses other networks have a little slack.
spring boot of learning is mainly correct some misconceptions about their own RESTful forms, including the use of the wrong way to use annotations and the HTTP method. The most important is not the form of RESTful api, but the use of HTTP behavior,
The first is to use a few comments -
@Controller controller identifies a class.
Mapping @RequestMapping URL's.
@ResponseBody returns the result into a JSON string.
@RequestBody represents receiving JSON format string argument.
Many configuration steps by which you can save a few comments.
Then there REST API, for example in the form of -
Interface URL | HTTP method | Interface Description |
/article | POST | Save Article |
/article/{id} | GET | Queries Article list |
/article/{id} | DELETE | Delete Article |
/article/{id} | PUT | Article updated information |
Then there's the whole learning Echarts, make changes to the realization of a drill map and display data dimensions.
Net class is steadily, but still too slow. .