CA
eastern-cyan

How to pass data (req.body) to an Actor?

I attached a screenshot showing my endpoint (express) that receives data from the request body, but I'm not sure how to pass that data down to my actor?
No description
2 Replies
extended-salmon
extended-salmon2y ago
What is in the response's body? Input for some actor(scraper)? Maybe You need to use call() method? https://docs.apify.com/api/client/js/reference/class/ActorClient#call
eastern-cyan
eastern-cyanOP2y ago
Thanks @Oleg V. that is what was needed

Did you find this page helpful?