AG-Schumann / doberview2

A NodeJS-based web frontend for Doberman v6
GNU General Public License v3.0
1 stars 0 forks source link

For email links #68

Closed jarongrigat closed 11 months ago

jarongrigat commented 11 months ago

Needed to have links in doberman alarm emails. I.e open a specific modal via URL and silence a pipeline for a duration via URL.

adambrown1 commented 11 months ago

Looks good, but wouldn't it be easier to handle at least the silencing server side? Just make the standard POST request?

I guess I didn't think about this and you probably can't send the request from an email...

jarongrigat commented 11 months ago

Yes, you are right. AFAIK, you cannot really execute a POST method with parameters via a link. That's why I created this new way.