简体   繁体   English

如何使用POSTMAN扩展名向Baasbox服务器发出REST请求?

[英]How to make REST Request to Baasbox server using POSTMAN extension?

I just installed Baasbox on my laptop and everything are work well. 我刚刚在笔记本电脑上安装了Baasbox,一切正常。 But when I try to make a request to create a new user, or anothe REST request using POSTMAN extension, I always got "Invalid Json" error. 但是,当我尝试发出创建新用户的请求或使用POSTMAN扩展对REST请求进行处理时,总是出现“ Invalid Json”错误。 Is there any mistakes with my request? 我的要求有任何错误吗? 错误附件

it seems that you want to create a user. 似乎您想创建一个用户。

In this case you have to set parameters like in the image below. 在这种情况下,您必须像下面的图片一样设置参数。

In particular you have to set "raw" instead of form-data, and also you do not need to set the Authorization header when signing up. 特别是,您必须设置“原始”而不是表单数据,并且在注册时也不需要设置Authorization标头。

Further info here: BaasBox Signup API 此处的更多信息: BaasBox注册API 邮差扩展截图

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM