• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 608
  • Last Modified:

LInking to m.ups.com?

Trying to make a simple link to UPS's mobile website with a tracking number. Have figured out how to do it to their regular website:

http://wwwapps.ups.com/etracking/tracking.cgi?tracknum=<tracking number>

However need to link to their mobile site (and their regular website doesn't seem to see that I'm on a phone):

http://m.ups.com/ ???

Any ideas? I have spent way too much time trying to figure this out :(
0
bensamgold
Asked:
bensamgold
  • 2
1 Solution
 
Michel PlungjanIT ExpertCommented:
Well.

Going to http://m.ups.com/mobile/home
I see a POSTED form - which, unless they allow it, will not do GET which you need to link to it


<form name="track_form" id="track_form" action="../mobile/track?loc=en_US#Track" method="post" accept-charset="utf-8">
<input type="text" id="trackingNumber" name="trackingNumber"/>
<input type="hidden" value="t" id="t" name="t" />
<input type="submit" id="track_submit" value="Track" class="btn"/>
</form>

If they do allow it, I would expect a link like this

http://m.ups.com/mobile/track?trackingNumber=<trackingnumber>&t=t&loc=en_US#Track

but if that does not work, then you need to ask them
0
 
bensamgoldAuthor Commented:
Dang, that worked! I contacted them after I posted and they stated it was their policy that people don't link to their website this way and instead program their own solutions using their API.  Developing a solution using their API would take me a long time to write.. Hopefully this will work long term but am ok if I have to deal with that later if they change their website as this isn't for a customer facing solution.

Thank you!
0
 
Michel PlungjanIT ExpertCommented:
Yeah I did google for their API for you but when I didn't see any obvious mobile API with a good example, I decided against posting a link to them to not make you waste more time :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now