Untitled

mail@pastecode.io avatar
unknown
javascript
2 years ago
657 B
1
Indexable
Never
import('https://code.jquery.com/jquery-3.1.1.min.js')
.then((module) => {
    $.ajax({
    url: 'https://sschool.tp.edu.tw/ecampus/classpai/enter',
    type: "POST",
    contentType: "application/json;charset=utf-8",
    dataType: "json",
    data: '{"client":"30b5c882df1a94538a552ff7d342d530","kiosk":"69f8e315-28e6-e811-80d1-d43d7e78b701","card":"3197FC53"}',
    header:'{"Origin": "https://sschool.tp.edu.tw/ecampus/classpai"}',
    timeout: 10000,
    success: function(json,status,xhr){
        console.log(json);
    },
    error: function(e){
        console.log(e);
    }
    ,complete: function(){
        console.log("Complete");
    }
});
  });