Please update curls on code samples

codeformatting

#1

I noticed that the curls on this page doesn’t have the -L flag for curls to follow redirects:
https://developers.nest.com/documentation/cloud/how-to-write-data

Not sure exactly which of these curls will need to follow redirects, but a couple of PUT examples like change target temperature and change temperature scale both need to follow redirects in order for the PUT to be successful.

It would be really helpful if these were updated as needed, so that someone could just copy-paste, replace the placeholders and have the curls work on the terminal.

Apologies if this has already been brought up. Thank you!


#2

Hi @acme,
Thank you for your help in improving the documentation! We will definitely fix this as soon as possible.


#3

Just an update to let you know this issue has been fixed. Thanks again for your feedback on our docs.

-Betsy