Skip to main content
Glama
SpringbootSampleBaselearnProjectApplication.java1.08 kB
package ink.openmind.springbootsamplebaselearnproject; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.ResponseBody; @SpringBootApplication(exclude = DataSourceAutoConfiguration.class) @Controller public class SpringbootSampleBaselearnProjectApplication { // @GetMapping("/hello") // @ResponseBody // public String hello(){ // return "Hello ! openmind.ink"; // } @GetMapping("/printInfo/{name}") @ResponseBody public String printInfo(@PathVariable String name){ return "【info】 " + name; // 【info】 王壮壮 } public static void main(String[] args) { SpringApplication.run(SpringbootSampleBaselearnProjectApplication.class, args); } }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yuwencheng0212/ppt'

If you have feedback or need assistance with the MCP directory API, please join our Discord server