title: How do I make my own "unsubscribe" button in an email?
body: <p>I got a controller that sends an email with an array of variables, which includes the person's name and the timestamp they made a request. The email sends an html file, and in the html file there has a "Click here to delete bla bla bla." line. When the user clicks on the link, the link will send them to a controller that will delete their name from my database.</p>
  
  <p>Now, I'm not entirely sure how I'm supposed to do this. I could obviously do something like this:</p>
  
  <pre><code>Click &lt;a href='https://xxx.xx.xxx.xxx:8000/web/misc/request/delete/&lt;?php echo $data['timestamp']; ?&gt;/&lt;?php echo $data['name']; ?&gt;'&gt; here&lt;/a&gt; to delete bla bla bla.
  </code></pre>
  
  <p>Then, in my routing file, I'll have: </p>
  
  <pre><code>Route::get('/web/misc/request/delete/{time}/{name}', 'EmailController@deleteRequest');
  </code></pre>
  
  <p>Then I can just query my database with the name and the timestamp, and viola, delete.</p>
  
  <p>But someone could easily just edit the name or timestamp in the URL, right?</p>
  
  <p>This made me want to use POST, but I'm not entirely sure how I'm supposed to do that in this scenario. I could just make a form, set some inputs to hidden, and then store the name and timestamp into those input values. I haven't tried this yet because it sounds pretty hacky.
  Using a session also wouldn't work in this case, right?
  Would this be a good time to use cookies? Or should I use some sort of keys?</p>