client=new XMLHttpRequest();
client.open('POST', "http://14.52.96.94:4600/apitest/Login2.php", true);
client.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
client.send("ID=abc@naver.com&Password=asas");
client=new XMLHttpRequest();
client.open('POST', "http://14.52.96.94:4600/apitest/Login2.php", true);
client.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
client.send('{"id":"abc@naver.com","password":"asas"}');
'웹' 카테고리의 다른 글
aws 도메인 연결 Route53 (0) | 2017.03.28 |
---|