implement the list API call
Closed this issue · 6 comments
Not a high priority of course, but it would be nice (for debugging purposes for example) if shavar would implement the list
endpoint.
I wrote a small tool to easily query what's available on a Safe Browsing server.
In the meantime, we should ideally return a 501 Not Implemented
when receiving a POST on /list
.
curl https://tracking.services.mozilla.com/list
should already tell you what's available on the server and exists in stage/prod now.
*edit - wording
That API endpoint has been implemented for quite a while. Are you having trouble with something in particular?
Oh, I hadn't tried a GET
:)
The spec says that it should be a POST
. Perhaps we should add that to be in line with the Google server?
I don't see any harm in keeping GET if you're using it anywhere.
I swear that spec was written by teenage girls. Why would it be a POST? It doesn't take any input. I'll fix.
This works in production.