Make the 'REST' request for registration (in Foodsaver.js) RESTful

Description

Current api is a wrapper around the legacy registration method.

Goal

  • Should be replaced by a proper REST Endpoint POST /api/user
  • Would it be possible to check if the email address is already registered after step 1 in register form? Otherwise you're notified in the end and have to go back.

Evidence

Can be used in external apps.

Solution

Make the 'REST' request for registration (in Foodsaver.js) RESTful

Links / references

Edited by Christian Walgenbach