simple-java-json-server
Explanation
This is a simple web server, it receives json data in this format
{
"method": "add",
"person": {
"name": "Jakov",
"age": "25"
}
}
Then it adds the person object to the list of the server. You can also send a get method to receive all persons.
Usage
- Download java 8
- Run Server.java
- Run Client.java (or send a request manually)
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request