# How to fetch website login data into node red?

**URL:** <https://discourse.nodered.org/t/how-to-fetch-website-login-data-into-node-red/60323>\
**Category:** General\
**Created:** [25 March 2022 03:42 UTC](https://discourse.nodered.org/t/how-to-fetch-website-login-data-into-node-red/60323 "2022-03-25T03:42:21Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [25 March 2022 07:47 UTC](https://discourse.nodered.org/t/how-to-fetch-website-login-data-into-node-red/60323/2 "2022-03-25T07:47:03Z")

</div>

You could allow remote access to your database and query it directly.  
Or  
You could query a php script with a http request similar to this post [MQTT data to a mySQL to display data on public website - #12 by astrojav](https://discourse.nodered.org/t/mqtt-data-to-a-mysql-to-display-data-on-public-website/60082/12) Except using a select query and returning the data in the http response.

---

_[View the full topic](https://discourse.nodered.org/t/how-to-fetch-website-login-data-into-node-red/60323)._
