HTTP request's body parameter problem

语言与知识 - 地址识别 | 百度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:
json

Then chang the string to json format:
变换

at the Debug page:
“{"text":"上海市浦东新区纳贤路701号百度上海研发中心 F4A000 张三"}”

log:
log结果

Then I tried HTTP request

The error occur
“{"error_code":100,"error_msg":"Invalid parameter"}”

SOLUTION IS HERE

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.