PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Unsolved

Get the currect api_key used in a request

frode-meling

Jan 31st, 2019 12:04 PM

Any1 know how we can get which api_key the client side has used? I probabaly need to store it during /api/token call.. But Where can I put it?

Reason I want it is to be able to track, which key posted what data. So given a user uses 2 APIkeys, we can differntiate what was created by each of them.

/Frode

nick-jensen

Feb 4th, 2019 02:03 PM

You would need to setup a Middleware for this.

Check out this post: https://devdojo.com/forums/discussion/wave/wave-api-workaround