GoSTEAN / hngInternship_stage_one

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HNG INTERNSHIP STAAGE ONE

TASK

Create an API endpoint that responds with the client's IP address, location, city temperature The API endpoint accepts a visitor_name query parameter /api/hello?visitor_name The API responds with the following response object/body

{
  "client_ip": // The IP address,
  "location": // The location,
  "greeting": "Hello // Your name !, the temperature is //Your Temperature degrees Celsius in // Location"
}

About


Languages

Language:JavaScript 100.0%