How to make POST Data (\r\n):



  • Friend I need your help, the Method is Post and in the POST Data how to put this:

    -----------------------------114511705019398
    Content-Disposition: form-data; name="org.apache.myfaces.trinidad.faces.FORM"

    f1
    -----------------------------114511705019398
    Content-Disposition: form-data; name="javax.faces.ViewState"

    !pkokl0i6v
    -----------------------------114511705019398
    Content-Disposition: form-data; name="event"

    cl14
    -----------------------------114511705019398
    Content-Disposition: form-data; name="event.cl14"

    <m xmlns="http://oracle.com/richClient/comm"><k v="type"><s>action</s></k></m>
    -----------------------------114511705019398--

    I know that the \ r \ n is used, but I have no idea how to do it, help me



  • chose multipart post data
    this would be the first for example do it for the other ones and just put them in a new line

    STRING: org.apache.myfaces.trinidad.faces.FORM: f1
    

    this is the syntax

    STRING: name: value
    


  • friend, I do that
    Multipart Contents:
    STRING:org.apache.myfaces.trinidad.faces.FORM: f1
    STRING:form-data; name="javax.faces.ViewState": !pkokl0i6v
    STRING:form-data; name="event": cl14
    STRING:form-data; name="event.cl14": <m xmlns="http://oracle.com/richClient/comm"><k v="type"><s>action</s></k></m>

    and another question on numbers 114511705019398 where are they going?



  • @jorbeto remove the name= and quotes in every string it should look like my example

    and you can ignore the boundary



  • @Itamai said in How to make POST Data (\r\n)::

    remove the name= and quotes in every string it should look like my example
    and you can ignore the boundary

    The result is like this:

    STRING: org.apache.myfaces.trinidad.faces.FORM: f1
    STRING: javax.faces.ViewState: !pkokl0i6v
    STRING: event: cl14
    STRING: event.cl14: <m xmlns="http://oracle.com/richClient/comm"><k v="type"><s>action</s></k></m>


  • Admin

    Are you sure the !pkok.. value does not change every time?



  • @Ruri
    if it changes, this is part of a configuration the final part to capture the plan (I have it as a variable) only that is missing and I capture everything, I just want to know if the multipart contents is fine, do I want someone to tell me if it's ok or bad?


  • Admin

    It should be fine yes



  • ok thanks
    !pko ---- tok6

    In my configuration it will be like this:
    javax.faces.ViewState: <tok6>


Log in to reply