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.
2 parents 26a810e + 54fff78 commit ea69b15Copy full SHA for ea69b15
sdks/mocking.mdx
@@ -354,20 +354,16 @@ export SGAI_MOCK_RESPONSES='{
354
"total_credits_used": 0,
355
"mock": true
356
},
357
- "/v1/smartscraper/start": {
358
- "job_id": "mock-job-123",
359
- "status": "processing",
360
- "mock": true
361
- }
362
}'
363
364
# Test smartscraper endpoint
365
-curl -X POST "https://api.scrapegraph.ai/v1/smartscraper/start" \
+curl -X POST "https://api.scrapegraph.ai/v1/smartscraper/" \
366
-H "Authorization: Bearer $SGAI_API_KEY" \
367
-H "Content-Type: application/json" \
368
-d '{
369
"website_url": "https://example.com",
370
"user_prompt": "Extract title and content"
+ "mock": true
371
372
```
373
0 commit comments