-
Notifications
You must be signed in to change notification settings - Fork 0
michaelelias/SquarePaymentsPlatformSoftwareEngineerQuiz
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Given the REST API defined below, write a Rack middleware, Java servlet, or equivalent proxy to log the moving average and variance of the response status codes grouped by their class (2xx, 4xx, etc). - PUT /locations/:location_id - GET /locations/:location_id - DELETE /locations/:location_id Assume the service is only available over HTTPS and that the API returns standard HTTP status codes, i.e., 5xx for internal server errors, 4xx for client request errors, 2xx for success, and 3xx for redirection. Bonus points: implementing the API in question, and adding authentication to the API. -------------------------------------------------- The solution : A Java Web application that implements the location REST API over HTTPS and is protected by basic authentication or OAuth Usage : start the app using the maven command : mvn jetty:run . Sample commands can be found in the commands file
About
Quiz posted on square's jobs website for the position of Software Engineer - Payments Platform
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published