Skip to content

A demo server that return a valid username for the Sauce Demo Web App

Notifications You must be signed in to change notification settings

eyaly/UsernameDemoServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Username Demo Server

A demo server that return a valid username for the Sauce Demo Web App

  1. Clone or fork this repoistory
  2. Compile the code:
javac UsernameServer.java
  1. Run the Code
java UsernameServer

This will start the server, and it will print a message indicating that the server is running on port 4000.

  1. Access the Serve You can access the server using your web browser or a tool like curl.
    Open your web browser and enter the URL http://localhost:4000/give_me_valid_username.
    You should see the response "standard_user" displayed in your browser.
    Alternatively, if you prefer using curl in the command line, you can run:
curl http://localhost:4000/give_me_valid_username

This will display the "standard_user" response in the terminal.

About

A demo server that return a valid username for the Sauce Demo Web App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages