Jul 26, 2008

Clean And Fast Way To Get/sent Http?

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > C/C++ Programming

free web hosting

Clean And Fast Way To Get/sent Http?

kvarnerexpress
I've stumbed across a problem where a database is designed so that the only way to get data in is to use a webpage. With a nice login page, frames, links, inputboxes, ect. Definitly a weird solution, and what's more, I wasn't able to talk the people into using something different.

When a large amount of data is needed to be put there, I need some way to get html and send data back. I could go for sockets, but that simply seems a too low level approach. What I'm looking for is a library, of sorts, that allows to create a nice HTTP request, send it, get the data back, and a function to send some data, with specifying what goes into which form.

The reason I'm posting in the C++ forum is, of course, that I want to code the app in C++.

If anyone has any ideas on how that's done, I'll be thankful.
kvarnerexpress

Reply

Spectre
Hmm, I don't know of any such library, but basic HTTP headers aren't difficult to construct.

Example:
CODE
char *headers = "GET / HTTP/1.1\r\nConnection: close\r\nAccept: */*\r\nHost: google.com\r\n\r\n";


There probably are such libraries floating around. Have a look on SourceForge.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : http


    Looking for clean, fast, http

Searching Video's for clean, fast, http
advertisement



Clean And Fast Way To Get/sent Http?



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE