correct-apricot
correct-apricot2y ago

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
Oleg V.
Oleg V.2y 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
correct-apricot
correct-apricotOP2y ago
Thanks @Oleg V. that is what was needed

Did you find this page helpful?