Provides REST endpoints for getting prime numbers and the second result in a Google Search
Click here to download the JAR from Github
At the command line, run the following java -jar tsf-1.0.0.jar
The server will start up on port 4567
/prime/{max}/trial
Creates a JSON list of prime numbers up to and including the max value using the trial algorithm. For example,http://localhost:4567/prime/43/trial
/prime/{max}/wilson
Creates a JSON list of prime numbers up to and including the max value using Wilson's theorum. For example,http://localhost:4567/prime/42/wilson
google/{query}
Gets the second result of a Google query. For example,http://localhost:4567/google/tsf