AnsweredAssumed Answered

Some question about Sample

Question asked by houjinxin on Apr 11, 2013
Latest reply on Apr 11, 2013 by houjinxin
This url is the Arcgis js sample
http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/widget_directions_basic.html

Code�?
      function init() {
        esri.addProxyRule({
          urlPrefix: "route.arcgis.com", 
          proxyUrl: "/sproxy"
        });

look at the �??esri.addProxyRule�?�, I can't find any description about the method addProxyRule,and the property urlPrefix and proxyUrl�?
I don�??t know how to use them and their functions. please give me some advice. Thank you!

Outcomes