Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用带有承载令牌身份验证的 sim800c 将数据发送到服务器。使用 Postman 的配置如下图所示:
将此标头添加到我正在使用的帖子请求中:
AT+HTTPPARA="USERDATA","Authorization: \"Bearer [My Token]\""\r\n
但在调试控制台中我得到:
+CME ERROR: invalid index
如何正确使用此命令?
问题是引号。命令的工作方式如下:
AT+HTTPPARA="USERDATA","Authorization: Bearer [My Token]"\r\n