Latest Comments

8 Total
a reply to a comment on the Instant Answer Idea Check if an e-mail has been compromised in a hack/paste 3 years and 5 days ago
Could you rephrase your question? I'm not sure what you're asking. In the case of an email not being "pwned" the API returns a status of 404. But Duckpan server seems to bail out of a search entirely when a 404 is encountered in any request (or at least in this request).
a reply to a comment on the Instant Answer Idea Check if an e-mail has been compromised in a hack/paste 3 years and 5 days ago
Right...except when I visit that link in my browser I receive a 404 status.

$ perl -Mojo -E 'say g("https://haveibeenpwned.com/api/v2/breach...")->code'
404
a reply to a comment on the Instant Answer Idea Check if an e-mail has been compromised in a hack/paste 3 years and 6 days ago
the link to the documentation I meant to include: https://haveibeenpwned.com/API/v2#Respon...
a comment on the Instant Answer Idea Check if an e-mail has been compromised in a hack/paste 3 years and 6 days ago
Hey all...I've run into an issue regarding the API.

According to the documentation, if the given email address has not been compromised, a status of 404 is returned (see: )

When I submit an email that has been "pwned" I receive a status of 200 from the API and I'm able to see my Spice template. But when an email is not "pwned" a status of 404 is returned and Duckpan returns to the main search page with a message of "404 not found"

Any ideas of how I can catch this response before Duckpan just bails out?
a comment on the Instant Answer Idea Check if an e-mail has been compromised in a hack/paste 3 years and 11 days ago
Just updating the thread to say I've been making progress. Just working out kinks as this will be my first Spice plugin. If anyone has any questions or additional suggestions please ping me.
a reply to a comment on the Instant Answer Idea Check if an e-mail has been compromised in a hack/paste 3 years and 12 days ago
In hindsight I now realize an end trigger of "pwned" would need to return the opposite answer of "safe". I will play with it and see what makes sense to the user.
a reply to a comment on the Instant Answer Idea Check if an e-mail has been compromised in a hack/paste 3 years and 12 days ago
No worries, and thanks. I will keep the thread updated on my progress.
a comment on the Instant Answer Idea Check if an e-mail has been compromised in a hack/paste 3 years and 13 days ago
I'll take a crack at it unless anyone objects.

Perhaps "pwned" could be an additional end trigger since this Instant Answer will be using haveibeenpwned.com?
« 1 »