Wait and Finish avatar
Wait and Finish

No credit card required

View all Actors
Wait and Finish

Wait and Finish

useful-tools/wait-and-finish

No credit card required

Simple Actor that will just wait and then finishes. Mostly used for testing integration purposes...

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn mode

Node.js

Python

curl

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "fail": "",
8  "dataset": {
9    "id": null,
10    "items": [
11      {
12        "id": 1,
13        "text": "My first item"
14      },
15      {
16        "id": 2,
17        "text": "My second item"
18      }
19    ]
20  },
21  "output": {
22    "outputMessage": "Actor finished"
23  },
24  "statusMessage": ""
25}
26EOF
27
28# Run the Actor
29curl "https://api.apify.com/v2/acts/useful-tools~wait-and-finish/runs?token=$API_TOKEN" \
30  -X POST \
31  -d @input.json \
32  -H 'Content-Type: application/json'
Developer
Community logoMaintained by Community
Actor metrics
  • 1 monthly users
  • 95.9% runs succeeded
  • Modified 6 months ago

You might also like these Actors