Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CRIO_BYTES
ME_NODEJS_MONGODB
Commits
e82e05cd
Commit
e82e05cd
authored
4 years ago
by
Aman Kumar Kesu
Browse files
Options
Download
Email Patches
Plain Diff
[ curl command updated for searching]
parent
4c9b09f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Backend/routes/index.js
Backend/routes/index.js
+1
-1
No files found.
Backend/routes/index.js
View file @
e82e05cd
...
...
@@ -66,7 +66,7 @@ router.get("/todos/endDate", (req,res) => {
/* Get all Todos : Between startDate and endDate
curl -X "GET"
-d 'name=Task-4 &startDate=2020-11-04&endDate=2020-11-21' http://localhost:3001/todos/search
curl -X "GET"
http://localhost:3001/todos/search?startDate=2020-11-04&endDate=2020-12-30
*/
router
.
get
(
"
/todos/search
"
,(
req
,
res
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment