Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Cron and HTTP and HTTP Request #577

Answered by lemonyte
AntonioSun asked this question in Help
Discussion options

You must be logged in to vote

You are able to call your HTTP route handlers from your cron function. Or if you feel like dipping your toes in the dark side of the pool, you can "simulate" an HTTP request to your Micro by using fetch() (JS), requests (Python), or any other way of sending HTTP requests, and sending a GET request to the chosen route, using the DETA_PATH env var to get the subdomain.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@AntonioSun
Comment options

@lemonyte
Comment options

@AntonioSun
Comment options

Answer selected by AntonioSun
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants