Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to I access the API on Postman along with Auth Creds #63

Open
tushar-31093 opened this issue May 2, 2023 · 2 comments
Open

How to I access the API on Postman along with Auth Creds #63

tushar-31093 opened this issue May 2, 2023 · 2 comments

Comments

@tushar-31093
Copy link

So, here is something I would like to understand.

I made the whole setup. Works like a charm after using it as is. Now the thing is I need to use the API service and provide it to my other app development team. They are using Node to build the app. I was keen to expose the API to them along with a specific username and password but unfortunately not of the guides/references point me in the right direction.

Is it possible for you to share the API endpoint URL which contains username and password that I could use as a reference and build on it?

Last resort is to use python inside node.js and call this library. No doubt it will work but it just makes things complicated. I want to use this library on a parallel web application that connects to the same endpoint whereas the mobile app that has a backend on node needs to access the same but I do not know the endpoint for that.

@mix1009
Copy link
Owner

mix1009 commented May 26, 2023

webui uses http basic authentication. You won't have problem using it from node directly. BTW If you are transmitting through internet without encryption it's not safe.

@tushar-31093
Copy link
Author

webui uses http basic authentication. You won't have problem using it from node directly. BTW If you are transmitting through internet without encryption it's not safe.

For some reason didn't get an alert. Anyhow, any way in which we can secure the API access though? The automatic1111 interface is already up and running on a cloud server and we're building an application that may require APIs to generate results through it.

Any viable suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants