How to read a value exactly once and destroy it

A single GET on the dead drop returns the value and removes it.

Run it

curl -s https://api.model.tools/api/v1/deaddrop/handoff

Response

{"status":"ok","key":"handoff","value":"secret-xyz"}