# Create and deploy profiles (REST API) Type of document: How-to guide Product: NGINX Instance Manager > Create and upload a new F5 WAF for NGINX security log profile to F5 NGINX Instance Manager using the REST API. --- You can create and upload new F5 WAF for NGINX security log profiles using the F5 NGINX Instance Manager REST API. A log profile defines how security events are recorded and exported from your NGINX instances. To upload a log profile, send a `POST` request to the Security Log Profiles API endpoint. The log profile must be encoded in `base64`; sending plain JSON causes the request to fail. **Note:** Use tools such as `curl` or [Postman](https://www.postman.com) to send requests to the NGINX Instance Manager REST API. The API base URL is `https:///api/[nim|platform]/`. All requests require authentication. For details on authentication methods, see the [API overview](/nim/fundamentals/api-overview.md). | Method | Endpoint | |--------|-----------------------------------------| | POST | `/api/platform/v1/security/logprofiles` | Example: ```shell curl -X POST https:///api/platform/v1/security/logprofiles \ -H "Authorization: Bearer " \ -d @default-log-example.json ```
JSON Request ```json { "metadata": { "name": "default-log-example" }, "content": "Cgl7CgkJImZpbHRlciI6IHsKCQkJInJlcXVlc3RfdHlwZSI6ICJpbGxlZ2FsIgoJCX0sCgkJImNvbnRlbnQiOiB7CgkJCSJmb3JtYXQiOiAiZGVmYXVsdCIsCgkJCSJtYXhfcmVxdWVzdF9zaXplIjogImFueSIsCgkJCSJtYXhfbWVzc2FnZV9zaXplIjogIjVrIgoJCX0KCX0=" } ```
JSON Response ```json { "metadata": { "created": "2023-07-05T22:09:19.634358096Z", "externalIdType": "", "modified": "2023-07-05T22:09:19.634358096Z", "name": "default-log-example", "revisionTimestamp": "2023-07-05T22:09:19.634358096Z", "uid": "" }, "selfLink": { "rel": "/api/platform/v1/security/logprofiles/" } } ```