It is currently Mon Dec 11, 2017 6:42 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: HTTP POST and custom headers for HTTP request
PostPosted: Fri Feb 17, 2017 3:19 pm 
Offline
User
User

Joined: Wed Oct 21, 2009 10:11 am
Posts: 14
Hello,

HTTP POST request and custom headers for HTTP request (REST) are useful features.

Currenly I don't see way to send data to the server using SSL HTTP POST. Parameter GET request is
possible if need only get information from the server but it's not suitable to transfer big amount of data
to the server.
Without SSL it's possible to code own HTTP requests using socket library but it's not secure
and therefore can't use it in production enviroment.

Nowadays REST is essential to transfer data between different systems.


Top
 Profile  
Reply with quote  
 Post subject: Re: HTTP POST and custom headers for HTTP request
PostPosted: Sun Mar 26, 2017 4:52 pm 
Offline
New User
New User

Joined: Thu Nov 12, 2015 9:36 pm
Posts: 5
+1

Couchbase
CouchDB
Node.js REST-Services
OAuth

and many many many more!

_________________
Sorry for my bad english :D


Top
 Profile  
Reply with quote  
 Post subject: Re: HTTP POST and custom headers for HTTP request
PostPosted: Fri Jun 23, 2017 4:41 pm 
Offline
Enthusiast
Enthusiast

Joined: Mon Jan 20, 2014 6:32 pm
Posts: 141
+1

Would be great for accessing lots of API stuff.

Thanks

_________________
WARNING: I dont know what I am doing! I just put stuff here and there and sometimes like magic it works. So please improve on my code and post your changes so I can learn more. TIA


Top
 Profile  
Reply with quote  
 Post subject: Re: HTTP POST and custom headers for HTTP request
PostPosted: Fri Jun 23, 2017 7:09 pm 
Offline
New User
New User

Joined: Sun Jan 20, 2013 9:09 am
Posts: 8
+1

_________________
https://www.instagram.com/custom.software/


Top
 Profile  
Reply with quote  
 Post subject: Re: HTTP POST and custom headers for HTTP request
PostPosted: Tue Jun 27, 2017 7:56 am 
Offline
Addict
Addict
User avatar

Joined: Thu Jul 03, 2003 6:53 pm
Posts: 1112
Location: England
+1


Top
 Profile  
Reply with quote  
 Post subject: Re: HTTP POST and custom headers for HTTP request
PostPosted: Tue Jun 27, 2017 1:50 pm 
Offline
User
User
User avatar

Joined: Fri Jan 17, 2014 8:55 pm
Posts: 34
Location: UK
+1

For true REST we also need PUT, PATCH and DELETE HTTP verbs/methods.


Top
 Profile  
Reply with quote  
 Post subject: Re: HTTP POST and custom headers for HTTP request
PostPosted: Sat Jul 01, 2017 8:29 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Mon Feb 25, 2013 5:51 pm
Posts: 513
Location: US or Estonia
+1

It's about that time of a year for another HTTP POST request. You can tell nobody uses HTTP though cause nobody has noticed buffer limits enforced by all webservers on GET.. I believe I posted the last POST request.

_________________
The truth hurts.


Top
 Profile  
Reply with quote  
 Post subject: Re: HTTP POST and custom headers for HTTP request
PostPosted: Tue Jul 04, 2017 7:06 am 
Offline
Addict
Addict

Joined: Sun Sep 07, 2008 12:45 pm
Posts: 3719
Location: Germany
purenet wrote:
Without SSL it's possible to code own HTTP requests using socket library but it's not secure
and therefore can't use it in production enviroment.


If you can code this with the socket library, you can also code it with ssl and the 'inbuild' libcurl.

Examples are available.

But it's right, the networking part of the community waits already a long time for improvements.


Top
 Profile  
Reply with quote  
 Post subject: Re: HTTP POST and custom headers for HTTP request
PostPosted: Fri Jul 07, 2017 9:56 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Mon Feb 25, 2013 5:51 pm
Posts: 513
Location: US or Estonia
infratec wrote:
purenet wrote:
Without SSL it's possible to code own HTTP requests using socket library but it's not secure
and therefore can't use it in production enviroment.


If you can code this with the socket library, you can also code it with ssl and the 'inbuild' libcurl.

Examples are available.

But it's right, the networking part of the community waits already a long time for improvements.


cURL doesn't have any CA management, so if your CA file is out of date anyone with the key set for a revoked CA can hack your software with DNS attacks. Mozilla is the only one with a managed CA file and it's poorly maintained.. Most people don't even update to that one..

But yeah POST has been requested at least a few times a year since I've been here. Even SpiderBASIC has it and it was wrote years later from scratch.. A poor workaround is terminal cURL on Debian and OSX and SendRequest on Windows..

_________________
The truth hurts.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: Fangbeast and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye