当前位置:网站首页>Send a post request at the front desk can't get the data
Send a post request at the front desk can't get the data
2022-08-10 13:34:00 【T_Y_F666】
The front desk cannot get the data when sending a post request
Error
The front desk cannot get the data when sending a post request
Solution
For the received parameter object is a string of type Json, so you need to add @RequestBody annotation
reason
@RequestBody annotation works on the formal parameter list, inserts the HTTP request body into the method, and uses the appropriate HttpMessageConverter to write the request body into an object.
Reference content
@ResponseBody
Original is not easy
Please indicate the source for reprinting
If it helps you, don’t forget to like and support
边栏推荐
- NodeJs原理 - Stream(二)
- BEVDet4D: Exploit Temporal Cues in Multi-camera 3D Object Detection Paper Notes
- 神了!阿里数据库专家纯手写了这份604页的Oracle+MySQL攻坚指南
- Loudi Center for Disease Control and Prevention Laboratory Design Concept Description
- 用低代码驱动IT现代化
- 系统的安全和应用(不会点安全的东西你怎么睡得着?)
- M²BEV: Multi-Camera Joint 3D Detection and Segmentation with Unified Bird’s-Eye View Representation
- ES5和SE6来实现一个Promise效果
- I would like to ask the big guys, how to solve this error when cdc oracle initializes a 3 million table task running
- CodeForces-834C
猜你喜欢
随机推荐
BEVDet4D: Exploit Temporal Cues in Multi-camera 3D Object Detection Paper Notes
代码随想录笔记_动态规划_70爬楼梯
LeetCode·每日一题·640.求解方程·模拟构造
Requirements for the construction of Loudi stem cell preparation laboratory
C# 当前上下文中不存在InitializeComponent()
【目标检测】小脚本:提取训练集图片与标签并更新索引
leetcode 739. Daily Temperatures 每日温度(中等)
发送post请求前台无法获取数据
Shell:数组
锂电池技术
Borg Maze (bfs+最小生成树)
递归递推之递归的函数
Lithium battery technology
Vivado crashes or the message is not displayed
接口自动化测试基础篇
黑客入门,从HTB开始
用低代码驱动IT现代化
3DS MAX 批量导出文件脚本 MAXScript 带界面
想问下大佬们 ,cdc oracle初始化一张300万的表任务运行着后面就这个错 怎么解决哇
实现一个深克隆