blob: b6e66bc2d978163cb81c06277a6afb19d7280aa6 [file] [log] [blame]
POST http://localhost:8080/init HTTP/1.1
content-type: application/json
{
"value": {
"__ow_action_name" : "nodejs-web-action-set-a-cookie",
"main" : "main",
"binary": false,
"code" : "function main() { return { headers: { 'Set-Cookie': 'UserID=Jane; Max-Age=3600; Version=', 'Content-Type': 'text/html'}, statusCode: 200, body: '<html><body><h3>hello</h3></body></html>' }}"
}
}
###