Example Call

No credit card required

Example Call

Example Call

apify/example-call

No credit card required

A simple example showing how to call another actor from an actor. Note that this actor doesn't accept any input and doesn't generate any output.

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

# Set API token
API_TOKEN=<YOUR_API_TOKEN>

# Prepare Actor input
cat > input.json <<'EOF'
{}
EOF

# Run the Actor
curl "https://api.apify.com/v2/acts/apify~example-call/runs?token=$API_TOKEN" \
  -X POST \
  -d @input.json \
  -H 'Content-Type: application/json'
Developer
Maintained by Apify
Actor stats
  • 21 users
  • 640 runs
  • Modified about 1 year ago
Categories

You might also like these Actors