End of chapter 6
[PFCLatex/.git] / source / PHPWebServiceRouting.yml
diff --git a/source/PHPWebServiceRouting.yml b/source/PHPWebServiceRouting.yml
new file mode 100644 (file)
index 0000000..003537c
--- /dev/null
@@ -0,0 +1,7 @@
+api_getadsbygps:
+  url:     /api/:latitude/:longitude/gpsads.:sf_format
+  class:   sfRequestRoute
+  param:   { module: api, action: getadsbygps }
+  requirements:
+   sf_format: (?:xml|json|yaml)
+   sf_method: [GET]