How can we call smarthings webservices from Android

smartapp

(Raghuram) #1

Hi All, Greetings,

I am trying to write my own Android application using SmartApp Web Services and also i created below Curl API

curl -H “Authorization: Bearer 9a18aae3-1269-485f-8408-cba7289fca15” -X PUT “https://graph-na04-useast2.api.smartthings.com/api/smartapps/installations/f9ec2874-3033-4fed-a578-c642f54b015f/switches/on

But i don’t know how to call above Curl API from Android application.

Can you please help me to call smarthings curl api’s from Android so that it would be very helpful for me.

Thanks for your help .


(Joe) #2

Here are some examples I was given.


(Joe) #3

Never mind. After reading your post again, it’s not what you were asking for.