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

Is there a way to use HTTP request in scripting? #100

Open
NolifeM opened this issue Apr 25, 2023 · 2 comments
Open

Is there a way to use HTTP request in scripting? #100

NolifeM opened this issue Apr 25, 2023 · 2 comments
Labels

Comments

@NolifeM
Copy link

NolifeM commented Apr 25, 2023

I just found out there're some websockect support in API and it's really cool. And it's seems that require() support will be in next version.
So is there a way to use HTTP request now or should I just wait for the next version of API?

@dacap
Copy link
Member

dacap commented Apr 25, 2023

Hi @NolifeM, at the moment there are no API to send HTTP requests, the main problem at the moment is Linux, we have to solve how to send HTTPS requests without depending on the dynamic/system openssl library (there are solutions like wolfssl, but we have to think more about this).

@dacap dacap added the feature label Apr 25, 2023
@NolifeM
Copy link
Author

NolifeM commented Apr 25, 2023

Thanks for replying .

I was trying to use Stable Diffusion WebUI API with aseprite, and found out that I could use python websockets as a middle to receive msg, then send them with http. It's a little tricky but works fine :D.

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

No branches or pull requests

2 participants