I haven't used the Arduino library, but I'm guessing the 400 is an HTTP code "Bad request", which suggests something in the content of the message doesn't make sense. So I would look at what you're trying to "put".
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more