Set content type = application/json at getExampleCodeAction