Skip to content

ganeis/Instalite-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Instalite

Team

  • Ganeistan
  • Inkaran
  • Mohamed

#Contrat d'accès

Connexion

Return un token ou une erreur

  • URL

    à remplir par Back-end team

  • Method:

    GET

  • URL Params

    Required:

    login=[String] password=[String]

  • Data Params

    None

  • Success Response:

    • Code: 200
      Content: { token : "un code generer"}
  • Error Response:

    • Code: 404 NOT FOUND
      Content: { error : "L'utilisateur n'existe pas" }

    OR

    • Code: 401 UNAUTHORIZED
      Content: { error : "Mot de passe erroné" }
  • Sample Call:

team Front-end dois mettre à jour vue.js

  $.ajax({
    url: "/users/1",
    dataType: "json",
    type : "GET",
    success : function(r) {
      console.log(r);
    }
  });
  ```

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 58.1%
  • JavaScript 37.6%
  • HTML 4.3%