Giter VIP home page Giter VIP logo

chinese-job-board-project's Introduction

Chinese-Job-Board-Project

Chinese Job Board

Call 1 - list all jobs:
http://localhost:8080/chinese_jobs_board/rest/loadList
[{"location":"NYC","id":"123","jobName":"餐馆厨师一名","datePost":"Dec 26 2015","contact":"[email protected]"},{"location":"NYC","id":"124","jobName":"急需家务员","datePost":"Dec 26 2015","contact":"[email protected]"},{"location":"NYC","id":"125","jobName":"家教若干","datePost":"Dec 26 2015","contact":"[email protected]"},{"location":"NYC","id":"126","jobName":"洗碗员","datePost":"Dec 26 2015","contact":"[email protected]"},{"location":"NYC","id":"121","jobName":"唐人街司机","datePost":"Dec 26 2015","contact":"[email protected]"}]

Call 2 - Get a Job post with id:
http://localhost:8080/chinese_jobs_board/rest/loadJob?id=???
{"location":"NYC","id":"123","details":"Job1 details","jobName":"餐馆厨师一名","datePost":"Dec 26 2015","contact":"[email protected]"}

Call 3 - Post a new Job:
http://localhost:8080/chinese_jobs_board/rest/job/postJob
curl -k -v -X POST -H 'Accept: application/json' -H 'Content-Type: application/json' --data '{ "details": "急需家务员 123132", "jobName": "急需家务员", "datePost": "Dec 30 2015", "contact": "mr lee", "location": "918-394-2399" }' http://localhost:8080/chinese_jobs_board/rest/job/postJob

Call 4 - Create user credential(User the response header for the postJob call):
http://localhost:8080/chinese_jobs_board/rest/createUser
curl -k -v -X POST -H 'Accept: application/json' -H 'Content-Type: application/json' --data '{ "password": "lalee", "userId": "laji" }' http://localhost:8080/chinese_jobs_board/rest/createUser

Call 5 - Login Call:
http://localhost:8080/chinese_jobs_board/rest/isUser
curl -k -v -X POST -H 'Accept: application/json' -H 'Content-Type: application/json' --data '{ "password": "lalee", "userId": "laji" }' http://localhost:8080/chinese_jobs_board/rest/isUser

chinese-job-board-project's People

Contributors

shao02 avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

jia2015 c3314o

chinese-job-board-project's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.