谁知道我是否可以创建一个超文本标记语言表单来搜索DHL跟踪网站?http://www.dhl.co.uk/en/express/tracking.html
我已经尝试使用以下命令,但出现错误'down for maintenance':
<!DOCTYPE html>
<!--[if IE]>
<![endif]-->
<html><head><meta charset="utf-8" />
</head>
<body>
<form action="http://www.dhl.co.uk/content/gb/en/express/tracking.shtml?brand=DHL&AWB=1212121212" method="post">
<input type="submit" value="go" />
</form>
</body>
</html>我必须使用API吗?
发布于 2011-11-16 16:10:18
下面的HTML跟踪示例使您能够在跟踪字段中插入单个运单编号,并通过现有网页提交请求。此链接会将您带到DHL跟踪屏幕,其中会自动填写货件信息。
<html>
<head>
<title>DHL - Track By Tracking Number</title>
</head>
<body>
<form name="form1" method="get" action="http://www.dhl-usa.com/content/us/en/express/tracking.shtml?">
< input type=hidden name=brand VALUE="DHL">
<input type="text" name="AWB" size="10"><br>
<input type="submit" value="Submit"><br>
<input type="reset" value="Reset">
</body>
</html>发布于 2022-02-07 20:25:08
感谢@WeezHard放弃这个表单。我认为他的解决方案是针对DHL美国,所以如果你想要一个全球DHL跟踪表,你可以使用以下代码。
<form name="form1" method="get" action="https://www.dhl.com/global-en/home/tracking/tracking-express.html?submit=1&tracking-id=" target="_blank">
<input type=hidden name=submit VALUE="1">
<input type="text" name="tracking-id" size="10" placeholder="Enter your DHL waybill number here..."><br>
<input type="submit" value="Track">
</form>https://stackoverflow.com/questions/8148179
复制相似问题