Bassam Mohmaud
Bassam Mohmaud

Reputation: 9

Alexa skill to change a variable on a website

I have an alexa skill and a website. I need to send requests from the alexa skill to change a certain variable on a website.

for examble, I have a name on the website lets say "michael", I want to be able to change that name to "zack" from alexa.

Upvotes: 0

Views: 74

Answers (1)

ck3g
ck3g

Reputation: 5929

Alexa skill SDK allows you to perform remote calls to third-party APIs. In your case, you can implement an API endpoint to change that field. Then you can call that endpoint with the data you need.

You can capture the name your user has been said.

By doing that, you would need to think how you will authenticate the user. Basically, you need to know how to match the user who is using Alexa with the user on your website. I don't think you want to change the name for the random user.

Upvotes: 1

Related Questions