routematrix error "Premature end of file. Nested exception"

1 post / 0 new
wkcc
routematrix error "Premature end of file. Nested exception"

[RESOLVED] the problem was trying to apply post instruction when should be using Get... 

The request string

http://www.mapquestapi.com/directions/v2/routematrix?key=V............8&... South 23rd Street, Middlesboro, KY 40965</location><location>1175 Transport Ln, Knoxville, TN 37901</location></locations></route>

Error

{"route":{"routeError":{"errorCode":0,"message":""}},"info":{"statuscode":400,"copyright":{"imageAltText":"© 2018 MapQuest, Inc.","imageUrl":"http://api.mqcdn.com/res/mqlogo.gif","text":"© 2018 MapQuest, Inc."},"messages":["Error processing route request: ","Error parsing XML from Request: Error on line 1 of document  : Premature end of file. Nested exception: Premature end of file.,  Please see the documentation for the Directions Service at http://www.mapquestapi.com/directions/ for details on correctly formatting requests."]}}