Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
test
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
谢昇
test
Commits
5c430e41
Commit
5c430e41
authored
Dec 12, 2018
by
谢昇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update API测试.md
parent
83cf56d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
API测试.md
API测试.md
+10
-1
No files found.
API测试.md
View file @
5c430e41
# 一、H
TTP请求方式
# 一、H
TTP请求方式
...
...
@@ -37,3 +37,12 @@
*
500 - 内部服务器错误
通过这个可以在API测试时加上对状态码的是否等于200的判断。
# 2、JSON简介
简单介绍一下JSON,因为我们在调用接口及查看返回值的时候都会非常频繁地看到这个格式的信息。
**JSON**
:JavaScript 对象表示法(JavaScript Object Notation),是一种轻量级的文本数据交换格式。
JSON具有一些特点及优势:
一是独立于语言。虽然JSON 使用 JavaScript 语法来描述数据对象,但是 JSON 仍然独立于语言和平台。JSON 解析器和 JSON 库支持许多不同的编程语言。这为使用不同语言编程的前后端衔接提供便利;
二是JSON 具有自我描述性,更易理解。这意味着值都是可列举的,是“人类可读”的 。
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment