Skip to content

amareshb/Simple-REST-Based-Communication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Simple-REST-Based-Communication

This project is a simple example for the exchange of JSON data between Server and client

After Forking/downloading this project, run the project using Web Server. Server.java is the server which hosts the functions . client.jsp is a Client which calls the functions in Server based on the method of request and type of response .

Running the Project . In the Url append /rest/server ---> for GET Method, /rest/server/postcheck ----> for POST Method.

Now copy this URL, Change the value of url in readJson.js to this new copied value. Now run client.jsp , this sends a simple string to the server and receives a JSON Response .

You are good to go now!

About

This project is an example that depicts exchange of JSON data between Server and client

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published