Skip to content
Discussion options

You must be logged in to vote

I have solved the problem

pipeline:
  threads: 2
  processors: 
    - mapping: |
        meta src_ip = this.src_ip
    - branch:
        request_map: 'root = ""'
        processors:
          - http:
              url: 'http://test.com/api/v1/ipUserQuery?ip=${! meta("src_ip") }&needIpType=true&needHistory=true&needUserInfo=true' # No default (required)
              verb: GET
              timeout: 5s
              headers:
                Accept: "application/json"
        result_map: "root.response = this"

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tri0mphe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant