Skip to content

Init API with some calls #3

@WTFKr0

Description

@WTFKr0
  • POST /user/register -d '{"email":"xxx@monmail.com","password":"mypass"}'
    => Create a non validated user account and send link to validate email
  • GET /user/validate_account?email=xxx@monmail.com&token=LongToken
    => Validate account in DB
  • POST /user/auth -d '{"email":"xxx@monmail.com","password":"mypass"}'
    => Auth success if account validated and correct user/password, send a JWT
  • POST -H 'X-BigData4All-Token: MySecretToken' /data/namespace/with/some/spaces -d 'raw data'
    => Validate Token - Must store in database the data

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions