当我向Bloomfire用户创建发送帖子请求时,我一直收到400状态代码(错误请求)。 ../api/v2/users [这是终点] 请求正文是 -
{
'session_token':session_token,
"email": "john_smith@email.com",
"first_name": "John",
"last_name": "Smith"
}
答案 0 :(得分:2)
您的请求正文中存在无效的json。尝试:
{
"session_token": "session_token",
"email": "john_smith@email.com",
"first_name": "John",
"last_name": "Smith"
}