In the services directory page for Solve Closest Facility, there are two buttons in the bottom of the page that can be used to execute the request -- "Solve Closest Facility (GET)" and "Solve Closest Facility (POST)".
If the input parameters are lengthy, then the request should use POST since there are limitations (in browsers) to the length of urls that can be handled. Please let us know if it works when using "Solve Closest Facility (POST)".
Also here is sample JSON for a couple of facilities and an incident that can be used in the services directory page. Please give this a try after replacing the geometry with appropriate values to test. Also make sure the value of default cutoff is appropriate and return routes or directions is selection. otherwise there may be no results returned.
Facilities:
{"features": [ { "attributes": {"Name":"Ghirardelli Square"}, "geometry" :{"x" : -122.4219243,"y" : 37.8056528} }, { "attributes": {"Name": "San Francisco Museum of Modern Art"}, "geometry": { "x": -122.401134465, "y": 37.7857056500001 } } ]}
Incidents:
{"features": [ { "attributes":{"Name":"Arguello Blvd"}, "geometry": {"x": -122.458689675511,"y": 37.7805250632726} } ]}
Thanks
Ravi