Advertisement
CLooker

Untitled

Jan 12th, 2018
420
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. SAME USER BEHAVIOR ON BOTH BRANCHES
  2.  
  3. THIS IS ON BRANCH THAT WORKS
  4. App running on port 3001!
  5. Mongoose connection successful.
  6. GET / 304 4.303 ms - -
  7. GET /css/style.css 304 1.974 ms - -
  8. GET /app.js 304 4.209 ms - -
  9. GET /neutral.jpeg 304 0.595 ms - -
  10. GET /background.jpg 304 0.367 ms - -
  11. GET /api/unsaved 304 12.908 ms - -
  12. GET /api/saved 304 8.559 ms - -
  13. POST /api/save 200 31.681 ms - 563
  14. GET /api/saved 304 8.736 ms - -
  15. GET /api/notes/5a56ced3c85fb50f10d2de2b 304 20.421 ms - -
  16. GET /api/unsaved 304 16.458 ms - -
  17. POST /api/note/5a56ced3c85fb50f10d2de2b 200 14.223 ms - 590
  18. GET /api/saved 200 1.943 ms - 952
  19. GET /api/notes/5a56ced3c85fb50f10d2de2b 200 5.468 ms - 896
  20.  
  21. THIS IS ON BRANCH THAT DOESN'T WORK
  22. App running on port 3001!
  23. Mongoose connection successful.
  24. GET / 200 6.313 ms - 2692
  25. GET /css/style.css 200 5.106 ms - 2888
  26. GET /javascript/app.js 200 7.771 ms - 11383
  27. GET /images/neutral.jpeg 200 1.333 ms - 252935
  28. GET /images/background.jpg 200 1.636 ms - 1049469
  29. note.create called, req.body: undefined
  30.  
  31. "note.create called, req.body: undefined" is inside my controller, which means a button click client side was able to trigger that...however, because req is undefined, the data that is supposed to be sent on click, is not being sent."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement