Server Connect Response - forcing blank body

I’m using Node Patrick

Change the action file directly, add a contentType as property. The action defaults to json content type.

{
  "name": "",
  "module": "core",
  "action": "response",
  "options": {
    "status": 200,
    "contentType": "text/plain",
    "data": ""
  }
}

Thanks Patrick (and JonL),
Seems so bloody obvious really - had I known you could override the content-type.

Is there any developer-level documentation that you guys ever share? It would really help drive the product development knowing you could override/extend the codebase for the greater good.

Go raibh maith agat
John

1 Like