Skip to content

kundanscorpio/apione

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Api One This project is created to fulfill the following requirements: 2 spring boot apps, one calling another (testable via curl). This would use direct http communication

You will need to check out both Spring Boot Aplication projects apione and apitwo

The server ports and the URL of the pair application are configured on application.properties file:

server.port=8081

anotherapiURL=http://localhost:8082/callByAnotherApi

You can make a call which results in a call to the other application using the following curl command:

$ curl http://localhost:8081/callAnotherApi

The output of the curl command will be :

{
	"messages": [
		"From apitwo: I got your call.",
		"Initial call received by apione, other api is called and returning now"
	]
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors