/go-restapi-service

go restapi service

Primary LanguageJava

go-restapi-service

go restapi service

start.spring.io

share link

apis

post

http://localhost:8080/users/

body

{
"firstName": "fname",
"lastName": "lname",
"email": "emailaddr@ooo.com",
"password": "1234"
}

get

http://localhost:8080/users/

update

http://localhost:8080/users/

body

{
"firstName": "fname2",
"lastName": "lname2"
}

delete

http://localhost:8080/users/

swagger

dependency

		<dependency>
			<groupId>io.springfox</groupId>
			<artifactId>springfox-boot-starter</artifactId>
			<version>3.0.0</version>
		</dependency>

url

swagger url