Coursera课程Python for everyone:Quiz: REST, JSON, and APIs
2016-02-17 11:15
3499 查看
REST, JSON, and APIs
10 试题Pooja Sankar
Mitchell Baker
Douglas Crockford
Bjarne Stroustrup
ElementTree
BeautifulSoup
import re
import json
json.read()
json.connect()
json.loads()
json.parse()
A list with three items
A dictionary with three key / value pairs
A dictionary with one key / value pair
Three tuples
One Tuple
Web services and APIs are used to transfer data between applications
Standards are developed where many pairs of applications must work together
An application makes use of the services provided by other applications
An application runs together all in one place
REST - Representational state transfer
SOAP - Simple Object Access Protocol
re.encode()
re.match()
urllib.urlencode()
urllib.urlcat()
The API starts to perform very slowly
Your application starts to perform very slowly
You canot use the API until you respond to an email that contains a survey question
You cannot use the API for 24 hours
OAuth
WS*Security
PKI-HMAC
Java Web Tokens
SOAP
SHA1-MD5
content-type
x-max-requests
x-rate-limit-remaining
x-request-count-down
相关文章推荐
- XML 与 JSON 优劣对比
- VBA将excel数据表生成JSON文件
- 解析Silverlight调用WCF/Rest异常的解决方法
- newtonsoft.json解析天气数据出错解决方法
- vbs 解析json jsonp的方法
- Extjs4如何处理后台json数据中日期和时间
- C#实现将类的内容写成JSON格式字符串的方法
- JQuery ajax返回JSON时的处理方式 (三种方式)
- jquery JSON的解析方式示例介绍
- c#版json数据解析示例分享
- ASP JSON类文件的使用方法
- C#实现对Json字符串处理实例
- C#实现Json转Unicode的方法
- php解析json数据实例
- PHP中JSON的应用技巧
- PHP6 先修班 JSON实例代码
- 关于JSON以及JSON在PHP中的应用技巧
- .Net中的json操作类用法分析
- C#操作 JSON方法汇总
- JavaScript中字符串(string)转json的2种方法