This is sivasankari .I am a new learner for Losant framework.please
send sample syntax of post device attributes from POSTMAN
I create a device called Thermostat with two attributes: temperature and humidity.
I create an application token for use in Postman.
Over on Postman, I set my request to
PATCH and put in my request URL that holds my application ID and device ID. I set my authentication type to Bearer Token and paste in the token I generated in Losant.
Then I set my Headers for this request:
Then over in the body, I specify the attributes I would like this device to have:
And back on Losant, I can see that my
PATCH was successful, and my previous attributes have been overwritten and
celsius is my only attribute.
Let me know how else I can help!
Thank you very much Julia,
I have two attributes like the followings
I want to pass the attributes value(Parameters) from POSTMAN.
Here I want to POST Data of two attributes(Phonename=“Iphone7” Phonestatsus=1)
please send me samples