Skip to content

Instantly share code, notes, and snippets.

@willprice76
Created August 26, 2020 12:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save willprice76/ebf5f58300427d989cba1839ad52226d to your computer and use it in GitHub Desktop.
Save willprice76/ebf5f58300427d989cba1839ad52226d to your computer and use it in GitHub Desktop.
Basic controller to see if everything is working
package org.example.sparknlp;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class ExampleController {
@GetMapping("/hello")
public String hello() {
return "Hello world";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment