Community
Participate
Working Groups
1. POST to /site to create a site, as explained in the API (see [1]) 2. The response looks something like: Content-Type: application/json; charset=UTF-8 Content-Length: 319 Cache-Control: no-cache Server: Jetty(6.1.x) Location: http://localhost:8080/site/ { "HostingStatus": {"Status": "stopped"}, "Id": "A", "Location": "http://localhost:8080/site/A", "Mappings": [ { "Source": "/file.html", "Target": "/foo.html" }, { "Source": "/web", "Target": "http://www.google.com" } ], "Name": "My hosted site", "Workspace": "A" } Note that the Location: header does not match the Location property in the JSON. The header is wrong. [1] http://wiki.eclipse.org/Orion/Server_API/Site_Configuration_API#Creating_a_site_configuration
http://git.eclipse.org/c/e4/org.eclipse.orion.server.git/commit/?id=6cd4502c8b73550d67d9387fe745aa5d283d0103