Arduino的API和JSON将信息发送到蔚蓝 [英] Arduino API and Json sending information to azure

查看:317
本文介绍了Arduino的API和JSON将信息发送到蔚蓝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来的Arduino编程,我想知道如果我可以使用Arduino的API和JSON来发送存储在一个Arduino乌诺到Azure的信息,例如我的Arduino板是为了有一个人的名字和他们的身份证号码,当他们preSS他们送自己的姓名和身份证到Azure的表的按钮。

I am new to arduino programming and I was wondering if I could use Arduino API's and Json to send information stored on an Arduino Uno to Azure, For example my Arduino board is meant to have a person's name and their ID number which When they press the button they send their name and ID to the Azure tables.

推荐答案

是的,你可以使用Azure中的表服务REST API 。如何插入实体表详细信息可以在这里找到

Yes, you can use Azure Table Service REST API. Details of how to insert entity to table can be found here:

的插入实体操作发送要插入作为一个实体
  OData的实体,它可以是一个JSON或Atom提要

The Insert Entity operation sends the entity to be inserted as an OData entity, which is either a JSON or an Atom feed

这不是完全直线前进(你必须处理身份验证和建立的 OData的实体),但它是可能的。

it's not completely straight forward ( you have to handle authentication and build OData entity) but it's possible.

看一看这个 - 连接Arduino的乌诺天青移动服务。这不使用餐桌服务的REST API,但原理是一样的。

Have a look at this - Connecting the Arduino Uno to Azure Mobile Services. This does not use Table Service REST API but principle is the same

这篇关于Arduino的API和JSON将信息发送到蔚蓝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆