We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ade9eb9 commit 5cb2728Copy full SHA for 5cb2728
src/pages/api/index.tsx
@@ -137,11 +137,9 @@ export default function Api() {
137
>
138
<ClientCodeWrapper>
139
<CodeBlock title="cURL" language='bash'>
140
- {`# Prepare Actor input
141
-echo '{ "searchStringsArray": ["Apify"] }' > input.json
142
-
143
-# Run the Actor and retreive its default dataset content.
144
-curl -X POST -d @input.json \\
+ {`# Prepare Actor input and run it synchronously
+echo '{ "searchStringsArray": ["Apify"] }' |
+curl -X POST -d @- \\
145
-H 'Content-Type: application/json' \\
146
-H 'Authorization: Bearer <YOUR_API_TOKEN>' \\
147
-L 'https://api.apify.com/v2/acts/compass~crawler-google-places/run-sync-get-dataset-items'
0 commit comments