Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Schedule API requests [closed]

Are you aware of any online service accessible via REST API that can schedule calls to APIs specifically HTTP POST of Content-Type:application/json and application/xml?

like image 530
masodev Avatar asked Dec 24 '22 06:12

masodev


2 Answers

Yes, my service https://posthook.io lets you schedule requests back to your API through a simple REST API.

like image 171
Carlos Gomez Avatar answered Dec 28 '22 07:12

Carlos Gomez


Using AWS, I've done the following:

  • Create Lambda function to POST to the REST API
  • Create CloudWatch Events rule to trigger the Lambda function on a schedule

Here's some info on "Creating a CloudWatch Events Rule That Triggers on a Schedule"

  • Ref: https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/Create-CloudWatch-Events-Scheduled-Rule.html
like image 32
Grokify Avatar answered Dec 28 '22 06:12

Grokify