Community Articles

Find and share helpful community-sourced technical articles.
Announcements
Now Live: Explore expert insights and technical deep dives on the new Cloudera Community BlogsRead the Announcement
Labels (1)
avatar

If you looking to upload template using NIFI REST API, below command curl command upload the template as multipart form post

curl -XPOST -H "Authorization: Bearer {{ token }}" https://localhost:9091/nifi-api/process-groups/10c263d0-0160-1000-0000-00006a157654/templates/upload -k -v -F template=@NifiTemplate.xml
4,045 Views
Comments
avatar
New Member

We have NIFI Secure S2S enabled.

How do we get the {{ token }}, as NIFI is not enabled for Username / Password, we only use CERTS / PEM files?

Version history
Last update:
‎12-01-2017 07:24 AM
Updated by:
Contributors