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

Write code to call ota.tosdr.org from phoenix #1168

Open
Tracked by #1167
michielbdejong opened this issue Sep 12, 2024 · 3 comments
Open
Tracked by #1167

Write code to call ota.tosdr.org from phoenix #1168

michielbdejong opened this issue Sep 12, 2024 · 3 comments

Comments

@michielbdejong
Copy link
Member

No description provided.

@michielbdejong
Copy link
Member Author

I need this for #1169 so doing a preliminary version of it in the ota-dev branch; we can create a cleaner version of it when you have time maybe today/tomorrow/next week @madoleary ?

@michielbdejong
Copy link
Member Author

I can do development using VSCode + docker compose and I found how to use logger.info to log things.
Now disabling the throttler because it's getting in the way.

@michielbdejong
Copy link
Member Author

michielbdejong commented Sep 12, 2024

OK phoenix side is now ready to post on my laptop, now firing up node server.js from https://github.com/tosdr/ota-engine/tree/crawl-api and then see if phoenix can do the http post there.
This is what it should be posting (see #1170 for more details):

curl -d'{"fetch":"http://example.com","select":"body"}' http://localhost:3000

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