-
2023 - 08 - 28 Validation failed (numeric string is expected)Today I Learned/TIL 08 2023. 8. 29. 12:07
uri오류로 인해 발생한 에러.
user/:무슨 아이디user/recommendation 으로 통신하면 아이디를 recommendation 으로 받아들여서아예 다르게 쓰려면, user/recommendation/다른변수 이렇게 구분되게 만들어줘야 한다.ex) localhost:3000/user/ 이 자리에는 userId를 기대하는데localhost:3000/user/recommendation 이라고 치면 recommendation을 userId로 인식한다.userId는 숫자여야 하는데 문자열이 들어오니 당연히 에러.'Today I Learned > TIL 08' 카테고리의 다른 글
2023 - 08 - 30 기술면접(11)- DI, IoC (1) 2023.08.31 2023 - 08 - 29 기술면접(10)- HTTP와 HTTPS의 차이점 (0) 2023.08.29 2023 - 08 - 27 기술면접(09) - TCP와 UDP의 특징과 차이점 (0) 2023.08.28 2023 - 08 - 26 기술면접(08) - 쿠키, 세션의 개념과 차이 (0) 2023.08.28 2023 - 08 - 25 기술면접(07)- 브라우저의 작동방식 (0) 2023.08.24