esphome-docs icon indicating copy to clipboard operation
esphome-docs copied to clipboard

Fix usage of response in http_request.rst samples

Open glmnet opened this issue 1 year ago • 1 comments

Description:

Simple fixes of http request samples as I'm testing now, the response object is in shared pointer so it needs the arrow operator

error: 'class std::shared_ptr<esphome::http_request::HttpContainer>' has no member named 'status_code'

glmnet avatar Jun 10 '24 20:06 glmnet

Deploy Preview for esphome ready!

Name Link
Latest commit fbb5fe38c81cb0c3a2764b12735f48580f24cc00
Latest deploy log https://app.netlify.com/sites/esphome/deploys/666763d8eaaa390008e2e8bc
Deploy Preview https://deploy-preview-3933--esphome.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Jun 10 '24 20:06 netlify[bot]

Woops, did not see this. Sorry @glmnet. Thanks for trying to update it.

It got merged in #4049

jesserockz avatar Jul 22 '24 04:07 jesserockz