diff --git a/api/router.go b/api/router.go index ebd0cbd..c530c65 100644 --- a/api/router.go +++ b/api/router.go @@ -78,15 +78,15 @@ func (r *Router) GetHandler() http.Handler { // // - Retrieve all superheroes with encrypted identities: // -// GET /superheroes?encode=deesee +// GET /superheroes?encrypted=true // // - Retrieve superheroes that match given superpower(s) // -// GET /superheroes?powers=flight,super-strength +// GET /superheroes?superpowers=flight,super-strength // // - Retrieve superheroes that match given superpower(s) with encrypted identities // -// GET /superheroes?powers=flight,super-strength&encode=deesee +// GET /superheroes?superpowers=flight,super-strength&encrypted=true func (r *Router) GetSuperHeroes(w http.ResponseWriter, req *http.Request) { var ( // Resulting