Skip to content

Instantly share code, notes, and snippets.

@mkheck mkheck/ProviderController
Last active Jun 27, 2017

What would you like to do?
package com.example.szproviderservice;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
public class SzProviderServiceApplication {
public static void main(String[] args) {, args);
class ProviderController {
public String sayHello() {"Logging GET request to /hi");
return "Hello there!";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.