Page 1 of 1

HTTP POST and custom headers for HTTP request

Posted: Fri Feb 17, 2017 3:19 pm
by purenet
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.

Re: HTTP POST and custom headers for HTTP request

Posted: Sun Mar 26, 2017 4:52 pm
by TroaX
+1

Couchbase
CouchDB
Node.js REST-Services
OAuth

and many many many more!

Re: HTTP POST and custom headers for HTTP request

Posted: Fri Jun 23, 2017 4:41 pm
by vwidmer
+1

Would be great for accessing lots of API stuff.

Thanks

Re: HTTP POST and custom headers for HTTP request

Posted: Fri Jun 23, 2017 7:09 pm
by SergeyA
+1

Re: HTTP POST and custom headers for HTTP request

Posted: Tue Jun 27, 2017 7:56 am
by the.weavster
+1

Re: HTTP POST and custom headers for HTTP request

Posted: Tue Jun 27, 2017 1:50 pm
by SparrowhawkMMU
+1

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

Re: HTTP POST and custom headers for HTTP request

Posted: Sat Jul 01, 2017 8:29 am
by tj1010
+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.

Re: HTTP POST and custom headers for HTTP request

Posted: Tue Jul 04, 2017 7:06 am
by infratec
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.

Re: HTTP POST and custom headers for HTTP request

Posted: Fri Jul 07, 2017 9:56 am
by tj1010
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..

Re: HTTP POST and custom headers for HTTP request

Posted: Wed Mar 14, 2018 7:18 pm
by danilocoelho
SparrowhawkMMU wrote:+1

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