-
Notifications
You must be signed in to change notification settings - Fork 0
request response Test
woosoo2 edited this page Mar 6, 2014
·
4 revisions
웹서비스에서 해당id로 데이터를 조회해 가공, 페이지를 구성 테스트
{
url : "http://www.finfra.com/~tv11/sample.php"
dataType: 'json',
type: 'get',
data: tId,
success:function(data) //json 가공해서 페이지 구성해서 이쁘게 출력하고 쿵짝쿵짝
}
##json form
{
tid: 11, // 의류 아이디
tname: "곰돌이티", // 이름
sex : "F", // 성별
tmax : 3, // 최고온도
tmin : 0, // 최저온도
style: 'casual', // 스타일
price: 30000, // 가격
size:"S" // 사이즈
url_1 : 'http://www.clothshop.com', // 이미지 url
url_2 : "finfra.com/~tv3/c11.png" // url
}