当前位置:网站首页>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
边栏推荐
- 递归递推之计算组合数
- OTA自动化测试解决方案---整体方案介绍
- 系统的安全和应用(不会点安全的东西你怎么睡得着?)
- 学习日记9
- 雨水中存在的PFAS化学物质对饮用水安全构成了威胁
- Error: Rule can only have one resource source (provided resource and test + include + exclude)
- Requirements for the construction of Loudi stem cell preparation laboratory
- jenkins数据迁移和备份
- Shell:数组
- Interface Automation Testing Basics
猜你喜欢
【学习笔记】Redis的持久化
A unit test report for CRM One Order Application log
Stream通过findFirst()查找满足条件的一条数据
作业8.9 构建TCP协议的服务器
shell:正则表达式及三剑客grep命令
【ECCV 2022|Millions of Prizes】PSG Competition: Pursuing the "Most Comprehensive" Scene Understanding
2022 Recruitment Notice for Academician Zhao Guoping Group of Shenzhen Institute of Advanced Technology, Chinese Academy of Sciences
想通这点,治好 AI 打工人的精神内耗
[target detection] small script: extract training set images and labels and update the index
生成树协议STP(Spanning Tree Protocol)
随机推荐
Stream通过findFirst()查找满足条件的一条数据
LeetCode·297.二叉树的序列化与反序列化·DFS·BFS
山水的高度
Requirements for the construction of Loudi stem cell preparation laboratory
Reversing words in a string in LeetCode
A unit test report for CRM One Order Application log
leetcode 739. Daily Temperatures 每日温度(中等)
bgp双平面实验 路由策略控制流量
矩阵键盘&基于51(UcosII)计算器小项目
作业8.9 构建TCP协议的服务器
神了!阿里数据库专家纯手写了这份604页的Oracle+MySQL攻坚指南
Jiugongge lottery animation
Jenkins修改端口号, jenkins容器修改默认端口号
3DS MAX batch export file script MAXScript with interface
kubernetes介绍
2022-08-09:以下go语言代码输出什么?A:否,会 panic;B:是,能正确运行;C:不清楚,看投票结果。 package main import ( “fmt“ “syn
【ECCV 2022|百万奖金】PSG大赛:追求“最全面”的场景理解
如何完成新媒体产品策划?
开源SPL消灭数以万计的数据库中间表
C# InitializeComponent() does not exist in the current context