Skip to content

Latest commit

 

History

History
67 lines (47 loc) · 1.43 KB

testRequests.rest

File metadata and controls

67 lines (47 loc) · 1.43 KB

POST http://localhost:3001/users Content-Type: application/json

{
"email" : "[email protected]", "password" : "123456789", "firstName" : "testChildren", "lastName": "test", "schoolDistrict": "Goose Creek", "zipCode" : 12345, "phoneNumber": 6156156156, "children": ["63e5c4936d51fdbbbedb5503"]

}

###

PUT http://localhost:3001/children/63e5c4936d51fdbbbedb5503/completedTask Content-Type: application/json

{
"taskId": "63d2bd432decae8fde782e1e"

}

###

GET http://localhost:3001/children/63e5c4296d51fdbbbedb5500 Content-Type: application/json

###

GET http://localhost:3001/children/ Content-Type: application/json

###

GET http://localhost:3001/children/getChildrenByIdBatch/?id=["63e5c4936d51fdbbbedb5503"] Content-Type: application/json

###

GET http://localhost:3001/tasks/byAttributes/?disabilities=["ADHD"]&priority=2 Content-Type: application/json

###

GET http://localhost:3001/tasks/byAttributes/?disabilities=["ADHD","disability2"]&age=30 Content-Type: application/json

### POST http://localhost:3001/tasks Content-Type: application/json

{
"title": "Task 5", "details": "Call LIDDA based on county|https://resources.hhs.texas.gov/pages/find-services|https://resources.hhs.texas.gov/pages", "disabilities": ["ADHD", "disability1", "disability2"], "timePeriod": "monthly", "age": "Adult", "priority": 1

}

### GET http://localhost:3001/tasks Content-Type: application/json