When using the MapQuest Open Directions API, you need to specify multiple stops along a route like this, without pipes -- and use "&to=..." to add multiple stops between the &from= and final destination:
The API also accepts JSON and XML input as well as Key/Value pairs.
Don't forget to sign up for a free appllication key!