webApi memorandum in java

Advance preparation

・ The latest version of Eclipse

① How to install eclips https://snome.jp/framework/springboot-install-win/ Completed before using Spring Boot The mystery of the workspace? Eclipse will create a hidden directory called “.metadata” in the directory designated as the workspace, so search for it. ② Java compiler settings No need to set anything ③ How to create WEB API Change Maven's POM based on the sample  https://codezine.jp/article/detail/11380?p=3   ④ Java Spring Boot JSON sending and receiving sample  https://itsakura.com/java-springboot-json#s7 How to put out Hello World https://qiita.com/kuro227/items/d7da647e9f3be78a5f92 URL to access http://localhost:8081/hello/ Reference API spring https://spring.pleiades.io/guides/tutorials/bookmarks/ Maven's POM https://mvnrepository.com/search?q=javax.validation Create a web api server with spring boot https://qiita.com/kuro227/items/d7da647e9f3be78a5f92 Correction points ・HelloWorldController.java ・Syain.java

File (test.html)

Mapping with
    @RequestMapping(method = RequestMethod.GET)
    public String getHello() {
        return "hello world!";
Mapped here
    @RequestMapping(value = "/index",method = {RequestMethod.POST})
	public Syain output1(
			@RequestBody Syain syain) {
				return syain;

Recommended Posts

webApi memorandum in java
Java memorandum
JAVA memorandum
Partization in Java
Java memorandum (list)
Changes in Java 11
Rock-paper-scissors in Java
Java study memorandum
Pi in Java
FizzBuzz in Java
[Java] Optional memorandum
[Creating] A memorandum about coding in Java
[java] sort in list
Read JSON in Java
Interpreter implementation in Java
Make Blackjack in Java
Rock-paper-scissors app in Java
Constraint programming in Java
Put java8 in centos7
NVL-ish guy in Java
Combine arrays in Java
"Hello World" in Java
Comments in Java source
Azure functions in java
Format XML in Java
Simple htmlspecialchars in Java
Boyer-Moore implementation in Java
Hello World in Java
Use OpenCV in Java
Type determination in Java
Ping commands in Java
Various threads in java
Heapsort implementation (in java)
Zabbix API in Java
ASCII art in Java
Compare Lists in Java
Express failure in Java
Java8 Silver exam memorandum
Create JSON in Java
Date manipulation in Java 8
What's new in Java 8
Use PreparedStatement in Java
Java8 Gold exam memorandum
What's new in Java 9,10,11
Parallel execution in Java
Initializing HashMap in Java
Try using RocksDB in Java
Read binary files in Java 1
Avoid Yubaba's error in Java
Get EXIF information in Java
Save Java PDF in Excel
[Neta] Sleep Sort in Java
Edit ini in Java: ini4j
Let Java segfault in 6 lines
Try calling JavaScript in Java
Try developing Spresense in Java (1)
Try functional type in Java! ①
I made roulette in Java.
Create hyperlinks in Java PowerPoint
Implement two-step verification in Java