语言与知识 - 地址识别 | 百度AI开放平台 (baidu.com)
This is a WEBAPI url, I tried to use HTTP request to analysis some address information, but I was trapped by the body parameter.
As the help doc says,text is the only body parameter, should be sent as the format as:
{“text”: “上海市浦东新区纳贤路701号百度上海研发中心 F4A000 张三”}
I tried to us assign to make a new dictionary:
Then chang the string to json format:
at the Debug page:
“{"text":"上海市浦东新区纳贤路701号百度上海研发中心 F4A000 张三"}”
log:
Then I tried HTTP request
The error occur
“{"error_code":100,"error_msg":"Invalid parameter"}”