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

Fire get request within a helper #183

Open
cgpro opened this issue May 24, 2019 · 0 comments
Open

Fire get request within a helper #183

cgpro opened this issue May 24, 2019 · 0 comments

Comments

@cgpro
Copy link

cgpro commented May 24, 2019

I've written a small image generator API for placeholders in express. To generate the missing files, I want to trigger a get-request to my API (localhost:1337/width/800/height/600). Node's http.get didn't work.

Have some an idea to get this work? I want to generate missing files for src-sets while compilation. It works fine if I request the missing images on client side while developing... but I'm afraid, there could be missing images when I compile the project.

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

1 participant