Skip to content

A post method using golang used for basic user authentication

Notifications You must be signed in to change notification settings

padmaja1291/golang-webservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

golang-webservice

A post method using golang used for basic user authentication

API details
POST http://localhost:8081/login
username: example@domain.com
password: ********
token: 1234

Service accepts a POST endpoint with a JSON payload with username, password and token
The backend should successfully validate the following credentials:

  • Username = c137@onecause.com
  • Password = #th@nH@rm#y#r!$100%D0p#
  • One time token = the 2 digit hour and 2 digit minute at time of submission

The backend should invalidate any other credentials or variations from the above

About

A post method using golang used for basic user authentication

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages