Javascript

1.ajax로 name 값 js로 가져오기

post-thumbnail

2.contentType: "application/json" 타입으로 api 보내기

post-thumbnail

3.parseInt

post-thumbnail