当前位置:网站首页>Several reasons for postman calling interface to return 404
Several reasons for postman calling interface to return 404
2022-07-19 15:34:00 【Early summer 0811】
postman Debug the interface locally and return 404 Why :
1. The request path is incorrect , It is necessary to carefully check whether the interface address is wrong ;
2. When testing the local interface , Use postman Calling the background can normally enter the method and go to the breakpoint , You can also walk to return, But in postman The returned value received is as follows :
{
“timestamp”: “2022-07-16T11:46:43.469+0000”,
“status”: 404,
“error”: “Not Found”,
“message”: “No message available”,
“path”: “/****/*****”
}
In this case, check controller Whether the annotation on the class is @Controller, Change it to @RestController. Or add @ResponseBody that will do .
边栏推荐
- N皇后问题(回溯法,排列树)
- 【自定义类型:结构体,枚举,联合】
- ArkUI常见问题汇总【系列2】
- OSPF learning notes (4)
- Arkui FAQ summary [Series 2]
- Devops tool chain: open and free to choose the tools most suitable for the needs of the team and business
- PostgreSQL in Linux and windows installation and introductory basic tutorial
- 2020 ICPC Asia East continuous final g. Prof. Pang's sequence line segment tree / scan line
- OSPF learning notes (III)
- 初来乍到,多多关照(其实不是初来了^_^,Hello CSDN,我来了)
猜你喜欢
![[user article] examples of P4 consolidation practice guide disassemble resolve](/img/43/fd68171e5223d0ec4af55fc208a7ac.png)
[user article] examples of P4 consolidation practice guide disassemble resolve

通过jmeter压测surging
![[gym103660] the 19th Zhejiang University City College Programming Contest vp/s](/img/97/655aa436d42340db4fc12c7c79b863.png)
[gym103660] the 19th Zhejiang University City College Programming Contest vp/s

Series operations of stack and queue containers (detailed explanation)

Pbootcms search SQL injection vulnerability

2022/7/17

C # minimize the WinForm software to the system tray, and start up automatically

SSH uses Socks5 proxy to connect to the remote server

浅谈ISP-CCM

代码合规性:开发人员使用Helix QAC的5大原因
随机推荐
获取近30天的日期列表
Caddy 的简介
Devops tool chain: open and free to choose the tools most suitable for the needs of the team and business
ArkUI路由跳转
深层次观点看 AlphaGo 和李世石的 PK
2022-7-17
【codeforces round#800 D题 Fake Plastic Trees】树上贪心
LBP feature notes
新基民在股票账户上买基金安全吗
一文彻底理解BIO、NIO、AIO
ARM系统调用异常 汇编
[user article] examples of P4 consolidation practice guide disassemble resolve
恒泰证券网上开户安全吗?
Selenium元素操作
Series operations of stack and queue containers (detailed explanation)
Est - il sûr d'ouvrir un compte en ligne pour acheter des fonds? Je viens de toucher le Fonds, je ne sais pas comment demander des conseils.
lambda函数以及对 items.sort(key = lambda y:y[1], reverse = True) 的理解。
test
可以写进简历的软件测试项目实战经验(包含电商、银行、app等)
云原生应用的概念和云原生应用的 15 个特征