vinialbano / passport-magic-link

Magic Link authentication for Passport JS
MIT License
60 stars 9 forks source link

Document how posts works #6

Open Immortalin opened 4 years ago

Immortalin commented 4 years ago

If you are using the fetch API, how should you format the POSTed data? I am getting 401s and lookup.js isn't very clear what structure is expected. Do you need bodyparser?