Closed matt-gorman closed 10 months ago
Hi @matt-gorman ,
Thanks a lot for your feedback.
There was a typo on the website. API URL is http://<hostname>:8888/api/scraper
instead of http://<hostname>:8888/api/scrapers
(there is no plural at scraper
).
Documentation is now corrected.
Thanks for spotting the issue!
Looks good, thanks for the quick response.
Current Behavior
I was attempting to use the API, but I believe I'm missing something. I grabbed username/password from the Project Settings and tried to use Python Requests to use the API:
However I get HTML back
API felt like it was missing a project or I wasn't hitting the right service, so there were at least two other things I tried:
Brought back the Same HTML
Am I missing something with setting up and using the API?
Expected Behavior
Expected to get JSON back similar to what is in the API docs.
Steps to Reproduce
Failure Logs
No response
Scrapoxy Version
4.2.3
Custom Version
Deployment
Operating System
Storage
Additional Information
No response