当前位置:网站首页>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
边栏推荐
- 高数_证明_曲率公式
- 大佬们有遇到过这个问题吗? MySQL 2.2 和 2.3-SNAPSHOT 都这样,貌似是
- 学习日记9
- A unit test report for CRM One Order Application log
- PHP 判断文件是否有内容,没有内容则复制另一个文件写入
- 鸿蒙开发从hello world开始
- rpn:def concat_box_prediction_layers
- 2022 Recruitment Notice for Academician Zhao Guoping Group of Shenzhen Institute of Advanced Technology, Chinese Academy of Sciences
- Nanodlp v2.2/v3.0 light curing circuit board, connection method of mechanical switch/photoelectric switch/proximity switch and system state level setting
- Fragment-hide和show
猜你喜欢

2022-08-09:以下go语言代码输出什么?A:否,会 panic;B:是,能正确运行;C:不清楚,看投票结果。 package main import ( “fmt“ “syn

什么?你还不会JVM调优?

M²BEV: Multi-Camera Joint 3D Detection and Segmentation with Unified Bird’s-Eye View Representation

【ECCV 2022|百万奖金】PSG大赛:追求“最全面”的场景理解

日志@Slf4j介绍使用及配置等级

MySQL interview questions

DNS欺骗-教程详解

Basic knowledge of switches

系统的安全和应用(不会点安全的东西你怎么睡得着?)

2022年五大云虚拟化趋势
随机推荐
发送post请求前台无法获取数据
Redis上云迁移实践
M²BEV: Multi-Camera Joint 3D Detection and Segmentation with Unified Bird’s-Eye View Representation
高数_证明_曲率公式
【JS高级】ES5标准规范之创建子对象以及替换this_10
【目标检测】小脚本:提取训练集图片与标签并更新索引
Vivado crashes or the message is not displayed
开源SPL消灭数以万计的数据库中间表
作业8.9 构建TCP协议的服务器
【219】慕课三千多的那个go工程师的培训课笔记 02 go语言的编程思想
PHP 判断文件是否有内容,没有内容则复制另一个文件写入
Solution for "Certificate not valid for requested usage" after Digicert EV certificate signing
SenseTime self-developed robotic arm, the first product is an AI chess-playing robot: Guo Jingjing is also invited as an endorsement
一种能让大型数据聚类快2000倍的方法,真不戳
记录几道整型提升的题目
Jenkins修改端口号, jenkins容器修改默认端口号
shell:正则表达式及三剑客grep命令
Overview of Loudi Petrochemical Experiment Design and Construction Planning
Import other custom namespaces in C#
矩阵键盘&基于51(UcosII)计算器小项目