Skip to content

418error/unirest-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

unirest-example

Using a lite weight framework like Java spark and unirest.io to consume rest APIs.

Prerequisites

I'm on a Mac using Homebrew goodness...

• Java 1.8

brew cask install java

• Gradle

brew install gradle

Setting up and compiling

  1. Clone it
git clone git@github.com:lendmeapound/unirest-example.git
  1. Get in it
cd unirest-example
  1. Build it
gradle build
  1. Run it
java -jar build/libs/unirest-example.jar
  1. Hit it http://localhost:4567

Kudos

Java spark - For an awesome framework.

Project Lombok - No more getters and setters.

Apache Commons - Taking the pain out of string validation.

FasterXML - For the Jackson databind module.

GSON - Converting Java Objects into their JSON representation and back again.

unirest.io - Making java http client much easier!

About

Simple unirest and java spark example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors