Community Articles

Find and share helpful community-sourced technical articles.
Announcements
Celebrating as our community reaches 100,000 members! Thank you!
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
3,214 Views
Comments
avatar
Explorer

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?