Simon AUBERT created NIFI-13834:
-----------------------------------

             Summary: InvokeHttp : maybe a way to retrieve info from 
Postman/Bruno
                 Key: NIFI-13834
                 URL: https://issues.apache.org/jira/browse/NIFI-13834
             Project: Apache NiFi
          Issue Type: Improvement
            Reporter: Simon AUBERT


Hello,

Configuring by hand a rest api input with InvokeHttp  can be painful.
On the other hand, the API world use a lot tools such as 
[Postman|https://www.postman.com/] or [Bruno|https://www.usebruno.com/] (an 
open source clone) which allows easy test, debug... I use it everytime I had to 
work on a rest API and then I try to translate it to the final tool. Both tools 
offer "collection", a set of request, and also environment configuration. Here 
are some examples on the project I'm working on :
[!https://private-user-images.githubusercontent.com/46959192/358164989-7ccd4851-db46-4962-bef1-8022d1b3e143.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mjc5NTM1MDYsIm5iZiI6MTcyNzk1MzIwNiwicGF0aCI6Ii80Njk1OTE5Mi8zNTgxNjQ5ODktN2NjZDQ4NTEtZGI0Ni00OTYyLWJlZjEtODAyMmQxYjNlMTQzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDEwMDMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQxMDAzVDExMDAwNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk4NDNhZmI3ZTQ5OGZjNTc3OTdkMmQ1NzM0ZjRiZTc5MmJhOTA3NTNmZDhlNmFkNDE5MDZkN2ZiYTdkOTFhYjcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.VgKWHK_CSmWZx6mKuNe7jDT-De-0I4z7Y5g2hAa08Bc!|https://private-user-images.githubusercontent.com/46959192/358164989-7ccd4851-db46-4962-bef1-8022d1b3e143.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mjc5NTM1MDYsIm5iZiI6MTcyNzk1MzIwNiwicGF0aCI6Ii80Njk1OTE5Mi8zNTgxNjQ5ODktN2NjZDQ4NTEtZGI0Ni00OTYyLWJlZjEtODAyMmQxYjNlMTQzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDEwMDMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQxMDAzVDExMDAwNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk4NDNhZmI3ZTQ5OGZjNTc3OTdkMmQ1NzM0ZjRiZTc5MmJhOTA3NTNmZDhlNmFkNDE5MDZkN2ZiYTdkOTFhYjcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.VgKWHK_CSmWZx6mKuNe7jDT-De-0I4z7Y5g2hAa08Bc]
[!https://private-user-images.githubusercontent.com/46959192/358165059-e542b185-502e-485d-ba74-252f71365bc6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mjc5NTM1MDYsIm5iZiI6MTcyNzk1MzIwNiwicGF0aCI6Ii80Njk1OTE5Mi8zNTgxNjUwNTktZTU0MmIxODUtNTAyZS00ODVkLWJhNzQtMjUyZjcxMzY1YmM2LnBuZz9YLUFtei1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1ob3N0In0.m6m5GU8IbQ8JJqlkgTAMrQPIDWg-SFDVoHkpsM_Oks8]
[!https://private-user-images.githubusercontent.com/46959192/358165113-e5de0f4d-fb9d-4c70-abdb-7daa55bcadd9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mjc5NTM1MDYsIm5iZiI6MTcyNzk1MzIwNiwicGF0aCI6Ii80Njk1OTE5Mi8zNTgxNjUxMTMtZTVkZTBmNGQtZmI5ZC00YzcwLWFiZGItN2RhYTU1YmNhZGQ5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDEwMDMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQxMDAzVDExMDAwNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTIxODAzOTYwNmVlMDM0ODU2MTlhMjI4ZGYyMjNmNGYwMWNmOGVkZDFlYzkzNzA2NTVlN2UwNWQ4YjJiMDc4ZTkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.QvkkDDhYBTueuV_s8pi0QnjU8cfAWG-4MoUOvUJqZhY!|https://private-user-images.githubusercontent.com/46959192/358165113-e5de0f4d-fb9d-4c70-abdb-7daa55bcadd9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mjc5NTM1MDYsIm5iZiI6MTcyNzk1MzIwNiwicGF0aCI6Ii80Njk1OTE5Mi8zNTgxNjUxMTMtZTVkZTBmNGQtZmI5ZC00YzcwLWFiZGItN2RhYTU1YmNhZGQ5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDEwMDMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQxMDAzVDExMDAwNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTIxODAzOTYwNmVlMDM0ODU2MTlhMjI4ZGYyMjNmNGYwMWNmOGVkZDFlYzkzNzA2NTVlN2UwNWQ4YjJiMDc4ZTkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.QvkkDDhYBTueuV_s8pi0QnjU8cfAWG-4MoUOvUJqZhY]

I would like to leverage those collections in my InvokeHttp processeor 
configuration, that would be quite easier to use !

Best regards,

Simon



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to