Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-7596

InvokeHTTP - Get Request Body From Attribute

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • Extensions
    • None

    Description

      Use case : the flow file contains 1 big data (ex : PDF or pictures), but you want to lookup metadata with InvokeHTTP using a POST (or PUT). POST is often used in http API for "search" with lot of params or list of params.

      Other exemple is the 3-steps batch-upload of products like Nuxeo or Salesforce Bulk API : you need to "open" a batch with a POTS invokeHTTP.

       

      Proposition : In the InvokeHTTP, add a "Get Request Body From Attribute" (like Put Response Body In Attribute). If this field not empty, the chosen attribute will be read as the request, insted of the flow file.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Firenz Mermillod
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: