Mine is attack helicopter
Is it possible to login programmatically?
@babaggeii What is your purpose once you log in this way? I can think of a couple ways, but it depends on what you are trying to do...
babaggeiireplied to mootzville on last edited by babaggeii
@mootzville There are categories that are only visible to admins. I want to grab the data from the api and use it in a separate app.
Is it necessary to log in to do this? Maybe you can just ask the db for the info and pass that to your app?
I use mongo, so for that I might:
- Create a db user in mongo with read-only privileges for the db.
- Then, make a script to query the db via your read-only user for the info you are wanting.
- Pipe the data to the app.
babaggeiireplied to mootzville on last edited by
@mootzville I guess I could do that, but I was hoping for the much easier and safter method of using the API. With the plans for the write API, we wanted to build our app around it, so that method is certainly preferable.
Copyright © 2023 NodeBB | Contributors