Bending the variables rules?

Discussion in 'Discussions & Help Forum' started by Falcon, Sep 29, 2015.

  1. Falcon

    Falcon Member

    Messages:
    608
    Likes:
    294
    Ratio:
    0.29
    Is there a way to add 3 header keys to one variable?
    The best thing I've tried is to Parse 2 of them and assign the last one as a constant; but it hasn't been working..
    Any tips would be beautiful.
     
  2. Tarwin

    Tarwin Advanced Member

    Messages:
    413
    Likes:
    315
    Ratio:
    2.83
    You can use \n (newline) to append each header into one variable. Then you assign that one variable to the headers of the section you'd like.

    It would look something like this.

    var1 token: jfdklqsjfkmldqjfmdklsj \\parse some token
    var2 csrf-token: jfkldsqjfkdsqjm \\parse some other token/header
    var3 input1=var1 operator=& input2=\n \\(optionally you can put the name of the header in this field already to save a var)
    var4 input1=var3 operator=& input2=var2 \\parse the token if you already added the headername

    then assign var4 to the headers of a section
     
    Falcon likes this.
  3. Falcon

    Falcon Member

    Messages:
    608
    Likes:
    294
    Ratio:
    0.29
    Genius. I will have to bookmark this.
     

Share This Page