全部 ApiPost使用 后端 前端 接口测试 IOS Android 数据库 2022 测试技术 工具
问答 / 问答详情

[已处理] post json 格式的数据,如果在里面使用变量

{

"email": {{customer-email}},

"countryCode": "SG",

"mobile": "{{customer-mobile}}",

"customerHashId": "{{customerHashId}}",

"segment": "gold",

"nativeLanguageName": "界限"

}


Body post 上面 json 格式的数据,

customer-email 是一个环境变量,加引号和不加引号 都不对,要怎么使用呢

| 0 收藏

2 个回答

加引号是可以的  您再试一下。

post json 格式的数据,如果在里面使用变量

post json 格式的数据,如果在里面使用变量

Apipost 私有化火热进行中

撰写答案

只服务于

前后端、移动端、测试人员

提问题 发布您遇到的Bug和问题,上万名大牛和开发者来帮您解决!