Skip to content

Instantly share code, notes, and snippets.

View imikay's full-sized avatar
💭
I may be slow to respond.

Ian Gao imikay

💭
I may be slow to respond.
  • Mikay Inc.
  • Shanghai, China
View GitHub Profile
@imikay
imikay / gist:0f9f0d71e613848ee647cd4d543e3d49
Last active January 23, 2022 14:16
Pass array/list data to Spring with axios

That's one way to do this, on Spring side

@PostMapping("api/user")
public Response theAction(@RequestBody List<User> users)

on the javascript side,