diff options
Diffstat (limited to '')
-rw-r--r-- | OpenGridServices.GridServer/Main.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenGridServices.GridServer/Main.cs b/OpenGridServices.GridServer/Main.cs index 5827227..c69b6dc 100644 --- a/OpenGridServices.GridServer/Main.cs +++ b/OpenGridServices.GridServer/Main.cs | |||
@@ -109,8 +109,11 @@ namespace OpenGridServices.GridServer | |||
109 | 109 | ||
110 | httpServer.AddXmlRPCHandler("simulator_login", m_simProfileManager.XmlRpcLoginToSimulatorMethod); | 110 | httpServer.AddXmlRPCHandler("simulator_login", m_simProfileManager.XmlRpcLoginToSimulatorMethod); |
111 | 111 | ||
112 | httpServer.AddRestHandler("GET", "/sims/", m_simProfileManager.RestGetSimMethod); | 112 | httpServer.AddRestHandler("GET", "/sims", m_simProfileManager.RestGetSimMethod); |
113 | httpServer.AddRestHandler("POST", "/sims/", m_simProfileManager.RestSetSimMethod); | 113 | httpServer.AddRestHandler("POST", "/sims", m_simProfileManager.RestSetSimMethod); |
114 | httpServer.AddRestHandler("GET", "/regions", m_simProfileManager.RestGetRegionMethod); | ||
115 | httpServer.AddRestHandler("POST", "/regions", m_simProfileManager.RestSetRegionMethod); | ||
116 | |||
114 | 117 | ||
115 | // lbsa71 : This code snippet taken from old http server. | 118 | // lbsa71 : This code snippet taken from old http server. |
116 | // I have no idea what this was supposed to do - looks like an infinite recursion to me. | 119 | // I have no idea what this was supposed to do - looks like an infinite recursion to me. |