how to run scrapy cloud api run.json in postman rest api testing tool
b
bcheekati
started a topic
almost 6 years ago
Hi All,
I am trying to invoke scrapy cloud api "https://app.scrapinghub.com/api/run.json" in postman REST api testing tool to run spider job. but it is always throwing error as "{"project":["This field is required."],"spider":["This field is required."],"status":"error","message":"project: This field is required."}".
i have used api method as POST and entered all required parameters like api, project and spider
Please find the attached screen shot for your reference.
bcheekati
Hi All,
I am trying to invoke scrapy cloud api "https://app.scrapinghub.com/api/run.json" in postman REST api testing tool to run spider job. but it is always throwing error as "{"project":["This field is required."],"spider":["This field is required."],"status":"error","message":"project: This field is required."}".
i have used api method as POST and entered all required parameters like api, project and spider
Please find the attached screen shot for your reference.
Thanks,
Bala
POST URL is just https://app.scrapinghub.com/api/run.json
And the rest should go under x-www-form-urlencoded
- Oldest First
- Popular
- Newest First
Sorted by Oldest Firstnestor
POST URL is just https://app.scrapinghub.com/api/run.json
And the rest should go under x-www-form-urlencoded
bcheekati
Hello nestor, - I changed the configuration as suggested, still, getting the same error.
nestor
You're still using URL parameters, the parameters should go on the body under x-www-form-urlencoded
-
Unable to select Scrapy project in GitHub
-
ScrapyCloud can't call spider?
-
Unhandled error in Deferred
-
Item API - Filtering
-
newbie to web scraping but need data from zillow
-
ValueError: Invalid control character
-
Cancelling account
-
Best Practices
-
Beautifulsoup with ScrapingHub
-
Delete a project in ScrapingHub
See all 458 topics