Skip to content

Simple web service returning public ip and user-agent (Spring Boot)

Notifications You must be signed in to change notification settings

krzywdal/ipreader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ipreader

Simple web service returning public ip and user-agent

Building the jar

./gradlew bootJar

Starting the server

java -jar ipreader-0.0.1-SNAPSHOT.jar

or with port specified

java -Dserver.port=8080 -jar ipreader-0.0.1-SNAPSHOT.jar

Usage

Server exposes /ipinfo endpoint

For localhost on port 8080 it will be: http://127.0.0.1:8080/ipinfo

About

Simple web service returning public ip and user-agent (Spring Boot)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published