T
Teo81
Hi. I need to send an HTTP post specifying password and username to a
web server through a socket in order to login. I'm writing this
program in c under a linux system. How does the request has to be
formatted? I send the request using the following code:
write( socket_fd, buffer, strlen( buffer ));
where socket_fd is the socket descriptor, buffer is the string
containing the post request and strlen(buffer) its length.
thank you
web server through a socket in order to login. I'm writing this
program in c under a linux system. How does the request has to be
formatted? I send the request using the following code:
write( socket_fd, buffer, strlen( buffer ));
where socket_fd is the socket descriptor, buffer is the string
containing the post request and strlen(buffer) its length.
thank you