sending Http request from request message programatically - HTTP DATASET CSIC 2010
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
command-line https
add a comment |Â
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
command-line https
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
add a comment |Â
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
command-line https
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
command-line https
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
add a comment |Â
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
add a comment |Â
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...'
add a comment |Â
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...'
add a comment |Â
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...'
add a comment |Â
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...'
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...'
answered May 21 at 8:30
Lienhart Woitok
808211
808211
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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