Skip to content

HarshalNEU/csye6225-spring-boot-starter-webapp

Repository files navigation

Make Unauthenticated HTTP Request

Execute following command on your bash shell

$ curl http://localhost:8080

Expected Response:

{"message":"you are not logged in!!!"}

Authenticate for HTTP Request

Execute following command on your bash shell

$ curl -u user:password http://localhost:8080

where user is the username and password is the password.

Expected Response:

{"message":"you are logged in. current time is Tue Sep 19 20:03:49 EDT 2017"}

About

Starter Web Application using Spring Boot framework.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages