Http中get、post請求傳map

標題Http之get、post請求傳map 測試用的是springboot+postman post請求 body中傳一個json在controller中用map接收即可。用註解@RequestBody get請求 URL中放多個參數,controller中用map接收即可(注意:用的是@RequestParam註解)。參見下圖: 錯誤 試了下搜到的下邊的這種方式,好像不行。不知道是參數寫的方式不
相關文章
相關標籤/搜索