This is step 2 of a demo of an API for Pos Malaysia. More about this in my blog . Unlike part 1 , there's no button to request a quote on this page. Changing the weight in the text field or selecting a different country will invoke a javascript method in your browser to send a weight / country request to spider.my, the updated quote appearing soon after the change. The URL used to retrieve the quote is also shown below, click on it and see what's being transferred from spider.my.
This page is using 'ripped' rates from Pos Malaysia, so all the data is already on spider.my - there's no need to request anything from Pos' website. You can download the data in XML format in part 3 .
Note the occasional ugly URL due to Pos' country names ... . 2nd March, converted backend data to use an International Standard for Country Codes - specifically ISO 3166-1 . No more ugliness, Country names now in the language your browser requests!
Weight (kg)
To
Abu Dhabi Afghanistan Ajman Albania Algeria American Samoa Andorra Angola Anguilla Antigua and Barbuda Argentina Armenia Aruba Australia Austria Azerbaijan Bahamas Bahrain Bangladesh Barbados Belarus Belgium Belize Benin Bermuda Bhutan Bolivia Bosnia and Herzegovina Botswana Brazil British Virgin Islands Brunei Bulgaria Burkina Faso Burundi Cambodia Cameroon Canada Cape Verde Cayman Islands Central African Republic Ceuta Chad Chile China Christmas Island Colombia Congo Cook Islands Costa Rica Croatia Cuba Cyprus Czech Republic Côte d'Ivoire Denmark Djibouti Dominica Dominican Republic Dubai Ecuador Egypt El Salvador Equatorial Guinea Estonia Ethiopia Faroe Islands Fiji Finland France French Guiana Fujairah Gabon Gambia Georgia Germany Ghana Gibraltar Greece Greenland Grenada Guadeloupe Guam Guatemala Guernsey Guinea Guinea-Bissau Guyana Haiti Honduras Hong Kong Hungary Iceland India Indonesia Iran Iraq Ireland Israel Italy Jamaica Japan Jordan Kazakhstan Kenya Kiribati Kuwait Kyrgyzstan Laos Latvia Lebanon Lesotho Liberia Libya Liechtenstein Lithuania Luxembourg Macao Macedonia Madagascar Malawi Maldives Mali Malta Martinique Mauritania Mauritius Mayotte Mexico Micronesia Moldova Mongolia Montserrat Morocco Mozambique Myanmar Namibia Nauru Nepal Netherlands Netherlands Antilles New Caledonia New Zealand Nicaragua Niger Nigeria Niue North Korea Northern Mariana Islands Norway Oman Pakistan Panama Papua New Guinea Paraguay Peru Philippines Pitcairn Poland Portugal Puerto Rico Qatar Ras al-Khaimah Reunion Romania Russia Rwanda Saint Helena Saint Kitts And Nevis Saint Pierre And Miquelon Saint Vincent And The Grenadines Samoa San Marino Sao Tome And Principe Saudi Arabia Senegal Serbia Seychelles Sierra Leone Singapore Slovakia Slovenia Solomon Islands Somalia South Africa South Georgia And The South Sandwich Islands South Korea Spain Sri Lanka Sudan Suriname Swaziland Sweden Switzerland Syria Taiwan Tajikistan Tanzania Thailand The Democratic Republic Of Congo Togo Tokelau Tonga Trinidad and Tobago Tunisia Turkey Turkmenistan Turks And Caicos Islands Tuvalu U.S. Virgin Islands Uganda Ukraine United Arab Emirates United Kingdom United States Uruguay Uzbekistan Vanuatu Vatican Venezuela Vietnam Wallis And Futuna Yemen Zambia Zimbabwe