Sponsored Content
Special Forums IP Networking How to send non get request from linux server Post 302496501 by lakshmikant on Monday 14th of February 2011 08:42:01 AM
Old 02-14-2011
How to send non get request from linux server

Hi

I want to send non get request for HTTP from linux server.

Please let me knwo how to do that

Thanks
Lakshmikant
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to send a Head Http request from command line

Ok. I'm testing a new program component that is supposed to speed up our pipeline on the server. What it does is take in HEAD requests and shuffle them off to a different pipeline that is specially designed to handle HEAD requests quickly. The functionality works but now comes the question: how... (3 Replies)
Discussion started by: darkling235
3 Replies

2. Shell Programming and Scripting

How to send XML data using HTTP Post Request

How to hit HTTP Post Request along with sending XML data to a Remote server through command line utility like wget (or anything else). (0 Replies)
Discussion started by: sandeep reddy
0 Replies

3. UNIX for Dummies Questions & Answers

How do I configure Linux server to be able to send emails internally?

Hi The script: #!/bin/sh #set -x # set admin email so that you can get email ADMIN="myemailaddress" # set alert level ALERT=4 df -HP | grep -vE '^Filesystem|tmpfs|cdrom' | awk '{ print $5 " " $1 }' | while read output; do #echo $output usep=$(echo $output | awk '{ print... (5 Replies)
Discussion started by: wbdevilliers
5 Replies

4. UNIX for Advanced & Expert Users

Issue in Curl to send http POST request with attachment/multipart

Hi, I am using curl to hit a url using http in solaris 10 using commandline, I want to transfer an attachment(using multipart curl -F) also as a part of the request. If anyone has used kindly help me with the syntax. I am using below command: Code: /usr/local/bin/curl -v... (1 Reply)
Discussion started by: manishmaha
1 Replies

5. UNIX for Dummies Questions & Answers

how to send an xml request

I'm new to Unix and web development but I'm in need to send an xml request to a web server Ican't find an easy way to do it from the command line, if somebody can help me with a sample would be amazing! my Unix says that curl is not installed so i was wondering if there is another way to test... (1 Reply)
Discussion started by: mpoblete
1 Replies

6. Shell Programming and Scripting

no command is not working to send a mail in linux redhot server

HI All, I am facing the problem with rmail ... Actually my server is linux environment Redhot server. To send a mail which command I have to use it . I want subject and I want to Include CC also And body of the mail also there . But If I use rmail command it is not taking any options to... (1 Reply)
Discussion started by: ksrivani
1 Replies

7. Shell Programming and Scripting

bash: How to send the output to a file upon users' request?

Let's say I have a script which creates a report. I use getopts to have different options available to the user. One of these options is -f which basically exports the output of script to a text file which user may give the name of that text file. How can I output the result to the requested file.... (3 Replies)
Discussion started by: bashily
3 Replies

8. Red Hat

unable to send mail from redhat linux server

While sending mail from linux server we observed below logs, stat=Deferred: Name server: xxxxxxxxxx.: host name lookup failure Kindly suggest what we need to change? Thanks in Advance (2 Replies)
Discussion started by: hydoss1
2 Replies

9. UNIX for Dummies Questions & Answers

Possible to send an email to a Linux Server?

Hello All, I was curious if its possible to send an email (in reverse) to a linux server from an email client (like Lotus Notes, Outlook, etc...)? I know it's possible to send an email FROM a Linux Server TO a email address, but I tried to just 'reply' to the Linux Servers address that sent... (8 Replies)
Discussion started by: mrm5102
8 Replies

10. Shell Programming and Scripting

Sendmail Fails to send emails from Linux server.

I m using free zoho mail client application (similar to microsoft outlook) on my mobile for all my emails to mohtashim@techx.com I wish to only recieve emails from my Linux Server details of which are: techx 3.10.0-514.10.2.el7.x86_64 #1 SMP CentOS release 7.3.1611 (Core). I try the below... (20 Replies)
Discussion started by: mohtashims
20 Replies
Mojo::Transaction::HTTP(3pm)				User Contributed Perl Documentation			      Mojo::Transaction::HTTP(3pm)

NAME
Mojo::Transaction::HTTP - HTTP 1.1 transaction container SYNOPSIS
use Mojo::Transaction::HTTP; my $tx = Mojo::Transaction::HTTP->new; DESCRIPTION
Mojo::Transaction::HTTP is a container for HTTP 1.1 transactions as described in RFC 2616. EVENTS
Mojo::Transaction::HTTP inherits all events from Mojo::Transaction and can emit the following new ones. "request" $tx->on(request => sub { my $tx = shift; ... }); Emitted when a request is ready and needs to be handled. $tx->on(request => sub { my $tx = shift; $tx->res->headers->header('X-Bender', 'Bite my shiny metal ass!'); }); "upgrade" $tx->on(upgrade => sub { my ($tx, $ws) = @_; ... }); Emitted when transaction gets upgraded to a Mojo::Transaction::WebSocket object. $tx->on(upgrade => sub { my ($tx, $ws) = @_; $ws->res->headers->header('X-Bender', 'Bite my shiny metal ass!'); }); ATTRIBUTES
Mojo::Transaction::HTTP inherits all attributes from Mojo::Transaction. METHODS
Mojo::Transaction::HTTP inherits all methods from Mojo::Transaction and implements the following new ones. "client_read" $tx->client_read($chunk); Read and process client data. "client_write" my $chunk = $tx->client_write; Write client data. "keep_alive" my $success = $tx->keep_alive; Check if connection can be kept alive. "server_leftovers" my $leftovers = $tx->server_leftovers; Leftovers from the server request, used for pipelining. "server_read" $tx->server_read($chunk); Read and process server data. "server_write" my $chunk = $tx->server_write; Write server data. SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>. perl v5.14.2 2012-09-05 Mojo::Transaction::HTTP(3pm)
All times are GMT -4. The time now is 02:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy