09-08-2015 05:11 AM
POST /alfresco/service/api/login HTTP/1.1
Host: localhost:8080
Content-Type: application/json
Accept: application/json
Cache-Control: no-cache
Postman-Token: f6d43cb0-7788-9d22-f17e-635ea8d49e6e
{"username":"admin","password":"enboxadmin"}
RESULT
{
"data": {
"ticket": "TICKET_253acd23d357b2405c446bf4ce662d0cc568a480"
}
}
POST /share/service/modules/create-site?alf_ticket=TICKET_253acd23d357b2405c446bf4ce662d0cc568a480 HTTP/1.1
Host: localhost:8080
Content-Type: application/json
Accept: application/json
Cache-Control: no-cache
Postman-Token: 77ab4770-730c-cacf-de98-6d1b80d74466
{
"sitePreset": "site-dashboard",
"shortName": "Sandbox",
"title": "Sandbox site",
"description": "This is a sample site.",
"visibility": "PRIVATE"
}
RESULT
{
"status": {
"code": 401,
"name": "Unauthorized",
"description": "The request requires HTTP authentication."
},
"message": "error.loggedOut",
"exception": "",
"callstack": [],
"server": "Spring WebScripts - v5.0.0 (Release) schema 1 000",
"time": "8.9.2015 5:06:04"
}
09-16-2015 08:36 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.