4 ms·
Is there actually a search.json endpoint? https://github.com/HackerNews/API https://github.com/HackerNews/API doesn't list this as a valid endpoint. Indeed, wh
by vitus 5y ago
Is there actually a search.json endpoint?
https://github.com/HackerNews/API https://github.com/HackerNews/API doesn't list this as a valid endpoint. Indeed, when I try to access it via curl, I get a HTTP 405 with a "Permission denied" error (same result when I try to access nonexistent-endpoint.json).
Based on the HN search on the website, I'd expect the correct autocomplete to involve hn.algolia.com [0].
[0] https://hn.algolia.com/api https://hn.algolia.com/api points at https://hn.algolia.com/api/v1/search?query= https://hn.algolia.com/api/v1/search?query=...
To me, this points at the need for human input with a system like this. There is a Firebase endpoint, yes, and Copilot found that correctly! But then it invented a new endpoint that doesn't exist.