Hi Sri,

You'll probably need to share a bit more server-side code than just the 
console.log() so that we can see what you're trying to do.

Thanks,

Charles

On Tuesday, May 14, 2013 1:08:48 PM UTC+1, Srividhya wrote:
>
> HI am sending the header information (like below)to node.js on the server 
> side, but it is not working. 
> How to pass the header information to server from client. and how to get 
> on the server side . 
> Pls if anyone knows... let me know
>  
> this is the ajax request call fron client html page:
>
> client.html:
>  
>           $.ajax({
>                     //  url:'http://10.163.14.52:8888/all',
>                     url:'http://IPaddress:port/getTaluk/',
>                     type:'POST',
>                     datatype:'json',
>                     data:inputVal,
>                     headers : {
>                                 'emp_value':s,
>                                 'signature':hash,
>                                 'timestamp':t
>                                 },
>                     complete:function(){
>                         alert(":"+data);
>                       
>                        
>                     }
>                  });
>
> on the server side am getting like this using nodejs:
>
>   console.log("emp_value:"+req.headers['emp_value']); 
> but i can't able to get it.
>
> -- 
> Thanks,
> N. Srividhya.
>  

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to