On the United Parcel Service website(UPS) there is a form where you can enter a zip code and it will return a color coded map that shows shipping times from that zip code. I am trying to use URLExecute[] to automate a search. At this stage I'm just trying to get it to return a particular map. Looking at the HTML code, I can see that the input field for the zip code is labeled "zip" and so I tried:

URLExecute["https:/www.ups.com/maps", {"zip" -> "90210"}]

which returns

"HTTP Status 404 - Not Found

Type Status Report

Description The origin server did not find a current representation 
for the target resource or is not willing to disclose that one exists.

Apache Tomcat/9.0.19"

How could we achieve the extraction of a particular map image?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.