python解析x-www-form-urlencoded数据
代码
urlencoded
转string
1 | query_string = 'access_token=CB4C8F99D9B3E4AD376E7CF179CFA470&expires_in=7776000&refresh_token=4CCB49CAD66A9506F0621CE8E427F492' |
dict
转urlencoded
1 | params = {'criterias[]': ['member', 'issue']} |