API地址
https://api.leepow.com/printers
POST 调用方法
$.ajax({ type: "POST", url: "https://api.leepow.com/printers", data: { dpi: 203, // 标签精度 width: 812, // 标签长 height: 1218, // 标签宽 zpl: "", // ZPL 命令 outputformat: "pdf", // 输出格式: png、pdf、jpg、pcx、grf }, success: function (result) { alert(result); } } )
GET 调用方法
$.ajax({ type: "GET", url: "https://api.leepow.com/printers?zpl=%5EXA%5EPON%5EPR4%5ELH0%2C0%5EFS%5ELL1218%5EMD0%5EMNY%5EFO420%2C40%5EA0N%2C25%2C30%5ECI13%5EFDPS LIGHTWEIGHT%5EFS%5EFO420%2C65%5EA0N%2C25%2C30%5ECI13%5EFDU.S. POSTAGE %26 FEES PAID%5EFS%5EFO420%2C90%5EA0N%2C25%2C30%5ECI13%5EFDOSM%5EFS%5EFO420%2C115%5EA0N%2C25%2C30%5ECI13%5EFDE-VS%5EFS%5EFO400%2C25%5EGB390%2C125%2C4%5EFS%5EFO0%2C225%5EGB860%2C0%2C4%5EFS%5EFO0%2C335%5EGB860%2C0%2C4%5EFS%5EFO420%2C200%5EA0N%2C21%2C23%5ECI13%5EFDRETURN SERVICE REQUESTED%5EFS%5EFO218%2C25%5EGB4%2C120%2C5%5EFS%5EFO33%2C100%5EGB300%2C4%2C5%5EFS%5EFO33%2C25%5EGB300%2C125%2C5%5EFS%5EFO45%2C50%5EA0N%2C45%2C75%5ECI13%5EFDCV %5EFS%5EFO230%2C50%5EA0N%2C45%2C75%5ECI13%5EFD10 %5EFS%5EFO55%2C110%5EA0N%2C30%2C45%5ECI13%5EFDLW %5EFS%5EFO230%2C110%5EA0N%2C30%2C45%5ECI13%5EFDV19%5EFS%5EFO15%2C355%5EA0N%2C21%2C23%5ECI13%5EFDSHIPPING DEPT%5EFS%5EFO15%2C383%5EA0N%2C21%2C25%5ECI13%5EFDDEPT.CA%5EFS%5EFO15%2C411%5EA0N%2C21%2C25%5ECI13%5EFD10722 SOUTH LA CIENEGA BLVD%5EFS%5EFO15%2C439%5EA0N%2C21%2C25%5ECI13%5EFDINGLEWOOD%2C CA 90304%5EFS%5EFO080%2C675%5EA0N%2C23%2C34%5ECI13%5EFDOAK RIDGE%2C TN 37830%5EFS%5EFO080%2C640%5EA0N%2C23%2C34%5ECI13%5EFD239 BRIARCLIFF AVE%5EFS%5EFO080%2C605%5EA0N%2C23%2C34%5ECI13%5EFDFRANK MOORE%5EFS%5EFO080%2C570%5EA0N%2C23%2C34%5ECI13%5EFDFRANK MOORE%5EFS%5EFO35%2C725%5EA0N%2C20%2C18%5ECI13%5EFDRef1%23%3A YT2032421272178428%5EFS%5EFO35%2C745%5EA0N%2C20%2C18%5ECI13%5EFDRef2%23%3A *1%5EFS%5EFO35%2C765%5EA0N%2C20%2C18%5ECI13%5EFDRef3%23%3A %5EFS%5EFO35%2C785%5EA0N%2C20%2C18%5ECI13%5EFDRef4%23%3A %5EFS%5EFO33%2C805%5EGB746%2C0%2C16%5EFS%5EFO150%2C855%5EA0N%2C33%2C40%5ECI13%5EFD USPS TRACKING %23 eVS%5EFS%5EFO50%2C915%5EBY3%2C3.0%5EBCN%2C160%2CN%2CY%2CN%5EFR%5EFD%3E%3B%3E842037830%3E89274890277431391559328%5EFS%5EFO180%2C1110%5EA0N%2C31%2C35%5ECI13%5EFD9274 8902 7743 1391 5593 28%5EFS%5EFO33%2C1170%5EGB746%2C0%2C16%5EFS%5EPQ1%2C0%2C0%2CN%5EXZ%5EFX End of job%5EXA%5EPON%5EIDR%3AID*.*%5EXZ", success: function (result) { alert(result); } } )
评论列表,共 0 条评论
暂无评论