当前位置:网站首页>@RequestMapping、@GetMapping
@RequestMapping、@GetMapping
2022-07-06 16:49:00 【Daily enlightenment】
@RequestMapping: To configure url mapping
@GetMapping: Used to process the request method Get type
@PostMapping: Used to process the request method Post type
example :@RequestMapping(value="/get/{id}",method=RequestMethod.GET) Equivalent to @GetMapping("/get/{id}")
Get Request and Post Differences in requests :
Get: Is to request data from a specified resource
Post: Submit a request to the specified resource to be processed
边栏推荐
- ~78 radial gradient
- Eureka single machine construction
- Record the error reason
- 第7章 __consumer_offsets topic
- Bisphenol based CE Resin Industry Research Report - market status analysis and development prospect forecast
- LeetCode 1550. There are three consecutive arrays of odd numbers
- China double brightening film (dbef) market trend report, technical dynamic innovation and market forecast
- 我走过最迷的路,是字节跳动程序员的脑回路
- Error: case label `15 'not within a switch statement
- 图像处理一百题(1-10)
猜你喜欢
随机推荐
Basic principles of video compression coding and audio compression coding
业务系统兼容数据库Oracle/PostgreSQL(openGauss)/MySQL的琐事
Base dice (dynamic programming + matrix fast power)
One hundred questions of image processing (11-20)
Record the error reason: terminate called after throwing an instance
~78 radial gradient
Codeforces Round #771 (Div. 2)
J'ai traversé le chemin le plus fou, le circuit cérébral d'un programmeur de saut d'octets
第5章 消费者组详解
Usage of insert() in vector
Chapter 6 datanode
Gridhome, a static site generator that novices must know
Solve the problem of intel12 generation core CPU [small core full, large core onlookers] (win11)
字节跳动新程序员成长秘诀:那些闪闪发光的宝藏mentor们
Tencent interview algorithm question
LeetCode 1641. Count the number of Lexicographic vowel strings
~71 abbreviation attribute of font
The concept of spark independent cluster worker and executor
LeetCode 1637. The widest vertical area between two points without any point
Research Report of desktop clinical chemical analyzer industry - market status analysis and development prospect prediction