- working on getting POST to work with Java/Spring
- http://www.journaldev.com/2552/spring-restful-web-service-example-with-json-jackson-and-client-program
- got it to work in TaskManagerApp
- @RequestMapping(value = “/tasks/create”, method = RequestMethod.POST, headers = {“Content-type=application/json”})
public @ResponseBody Task createTask(@RequestBody Task task) { }
- @RequestMapping(value = “/tasks/create”, method = RequestMethod.POST, headers = {“Content-type=application/json”})
- useful Chrome plugin – Postman – REST Client
- https://chrome.google.com/webstore/detail/postman-rest-client/fdmmgilgnpjigdojojpjoooidkmcomcm?hl=en
- very simple to use!!! tested POST service in TaskManagerApp
- looking at Spring Security User Session Management
