sending Http request from request message programatically - HTTP DATASET CSIC 2010

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I have HTTP request messages



something like This:-



example message



Instead of making messages from HTTP-client libraries, I need to send this Http message to the server to test.

I have a large dataset of messages to I need to send programmatically.



for only one message I can use



telnet [destinationip] [port]



to establish TCP connection and type this message. but for the big dataset, I can't test manually.



Thanks in Advance







share|improve this question




















  • To make it easier to answer it would be great if you provide information like that HTTP request as text in your question instead of a screenshot. I could not add the full URL to my answer because of that. Well, I could have, but I would have had to type it. Where it text I could have just copied it.
    – Lienhart Woitok
    May 21 at 8:32










  • For that reason, I provided dataset in Subject. So that others can see it
    – Akhil Surapuram
    May 21 at 10:21















up vote
0
down vote

favorite












I have HTTP request messages



something like This:-



example message



Instead of making messages from HTTP-client libraries, I need to send this Http message to the server to test.

I have a large dataset of messages to I need to send programmatically.



for only one message I can use



telnet [destinationip] [port]



to establish TCP connection and type this message. but for the big dataset, I can't test manually.



Thanks in Advance







share|improve this question




















  • To make it easier to answer it would be great if you provide information like that HTTP request as text in your question instead of a screenshot. I could not add the full URL to my answer because of that. Well, I could have, but I would have had to type it. Where it text I could have just copied it.
    – Lienhart Woitok
    May 21 at 8:32










  • For that reason, I provided dataset in Subject. So that others can see it
    – Akhil Surapuram
    May 21 at 10:21













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have HTTP request messages



something like This:-



example message



Instead of making messages from HTTP-client libraries, I need to send this Http message to the server to test.

I have a large dataset of messages to I need to send programmatically.



for only one message I can use



telnet [destinationip] [port]



to establish TCP connection and type this message. but for the big dataset, I can't test manually.



Thanks in Advance







share|improve this question












I have HTTP request messages



something like This:-



example message



Instead of making messages from HTTP-client libraries, I need to send this Http message to the server to test.

I have a large dataset of messages to I need to send programmatically.



for only one message I can use



telnet [destinationip] [port]



to establish TCP connection and type this message. but for the big dataset, I can't test manually.



Thanks in Advance









share|improve this question











share|improve this question




share|improve this question










asked May 21 at 7:28









Akhil Surapuram

34




34











  • To make it easier to answer it would be great if you provide information like that HTTP request as text in your question instead of a screenshot. I could not add the full URL to my answer because of that. Well, I could have, but I would have had to type it. Where it text I could have just copied it.
    – Lienhart Woitok
    May 21 at 8:32










  • For that reason, I provided dataset in Subject. So that others can see it
    – Akhil Surapuram
    May 21 at 10:21

















  • To make it easier to answer it would be great if you provide information like that HTTP request as text in your question instead of a screenshot. I could not add the full URL to my answer because of that. Well, I could have, but I would have had to type it. Where it text I could have just copied it.
    – Lienhart Woitok
    May 21 at 8:32










  • For that reason, I provided dataset in Subject. So that others can see it
    – Akhil Surapuram
    May 21 at 10:21
















To make it easier to answer it would be great if you provide information like that HTTP request as text in your question instead of a screenshot. I could not add the full URL to my answer because of that. Well, I could have, but I would have had to type it. Where it text I could have just copied it.
– Lienhart Woitok
May 21 at 8:32




To make it easier to answer it would be great if you provide information like that HTTP request as text in your question instead of a screenshot. I could not add the full URL to my answer because of that. Well, I could have, but I would have had to type it. Where it text I could have just copied it.
– Lienhart Woitok
May 21 at 8:32












For that reason, I provided dataset in Subject. So that others can see it
– Akhil Surapuram
May 21 at 10:21





For that reason, I provided dataset in Subject. So that others can see it
– Akhil Surapuram
May 21 at 10:21











1 Answer
1






active

oldest

votes

















up vote
0
down vote



accepted










You can use curl. Depending on which of the HTTP headers you really need you have to construct your command. You can add a header to the command using -H 'Accept-Language: en'. Multiple headers just repeat this argument. I recommend reading the man page of curl. As you have & sign in your urls you need to quote the url in order to prevent the shell from interpreting the & signs as background process.



curl -H 'Accept-Language: en' 'http://localhost:8080/tienda1/public/anadir...'





share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );








     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1038594%2fsending-http-request-from-request-message-programatically-http-dataset-csic-20%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote



    accepted










    You can use curl. Depending on which of the HTTP headers you really need you have to construct your command. You can add a header to the command using -H 'Accept-Language: en'. Multiple headers just repeat this argument. I recommend reading the man page of curl. As you have & sign in your urls you need to quote the url in order to prevent the shell from interpreting the & signs as background process.



    curl -H 'Accept-Language: en' 'http://localhost:8080/tienda1/public/anadir...'





    share|improve this answer
























      up vote
      0
      down vote



      accepted










      You can use curl. Depending on which of the HTTP headers you really need you have to construct your command. You can add a header to the command using -H 'Accept-Language: en'. Multiple headers just repeat this argument. I recommend reading the man page of curl. As you have & sign in your urls you need to quote the url in order to prevent the shell from interpreting the & signs as background process.



      curl -H 'Accept-Language: en' 'http://localhost:8080/tienda1/public/anadir...'





      share|improve this answer






















        up vote
        0
        down vote



        accepted







        up vote
        0
        down vote



        accepted






        You can use curl. Depending on which of the HTTP headers you really need you have to construct your command. You can add a header to the command using -H 'Accept-Language: en'. Multiple headers just repeat this argument. I recommend reading the man page of curl. As you have & sign in your urls you need to quote the url in order to prevent the shell from interpreting the & signs as background process.



        curl -H 'Accept-Language: en' 'http://localhost:8080/tienda1/public/anadir...'





        share|improve this answer












        You can use curl. Depending on which of the HTTP headers you really need you have to construct your command. You can add a header to the command using -H 'Accept-Language: en'. Multiple headers just repeat this argument. I recommend reading the man page of curl. As you have & sign in your urls you need to quote the url in order to prevent the shell from interpreting the & signs as background process.



        curl -H 'Accept-Language: en' 'http://localhost:8080/tienda1/public/anadir...'






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered May 21 at 8:30









        Lienhart Woitok

        808211




        808211






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1038594%2fsending-http-request-from-request-message-programatically-http-dataset-csic-20%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            Which professions warranted travel in Medieval times?

            How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

            Trouble downloading packages list due to a “Hash sum mismatch” error