So, I have a proof of work authentication scheme set up for my little contact se...
derptron @crazyeddie@mastodon.social
So, I have a proof of work authentication scheme set up for my little contact server. If you post to the resource without a token it'll return a 401 with one in the www-authetication header (my own made up scheme "WorkToken work=jwt". If there's an authentication header in the post request it'll validate it and act accordingly.
I'm debating with myself if I shouldn't split this into two resources and maybe even simplify by removing the header stuff and using the body (less cors). Thoughts?