cURL
curl --request POST \ --url https://scrape.st/internal/dispatch \ --header 'Content-Type: application/json' \ --header 'x-admin-key: <x-admin-key>' \ --data ' { "tweet": {}, "tweets": [ {} ] } '
Manually dispatch tweets to the internal handler
/internal/dispatch
curl -X POST https://scrape.st/internal/dispatch \ -H "x-admin-key: your-admin-key" \ -H "Content-Type: application/json" \ -d '{ "tweets": [ { "id": "1234567890", "text": "Manual dispatch", "created_at": "2023-10-27T10:00:00Z" } ] }'
Received 1 tweets