get请求 params参数传递以及获取

函数如下:

@route('/api/')
def aaa():
    name = ''
    number = ''

postman 请求:

http://127.0.0.1:15555/api/?name=wangzi&number=22

参数获取:

get请求 params参数传递以及获取_第1张图片
get请求 params参数传递以及获取_第2张图片
get请求 params参数传递以及获取_第3张图片

你可能感兴趣的:(get,postman)