Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

spring boot endpoint getting list from the body

@PostMapping("/list")
public void insertList(@RequestBody ArrayList<T> list) {
  // do something
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #spring #boot #endpoint #list #body
ADD COMMENT
Topic
Name
3+5 =