这个接口返回的是什么格式

👁️ 1 人浏览 💬 0 人评论 ❤️ 添加收藏

查一个响应头,确认对面给的是什么格式:

Content-Type是什么?(分号前面那一段就够)

$ curl -sI http://localhost:8080/api/user.json | grep -i '^content-type'
Content-Type: application/json
提交你的答案
请登录后提交答案。
去登录
代码编辑器
Ctrl + Enter 运行
本次输入:
输出:

                        
👩‍🏫
AI
💬 题目评论

全部评论