luamacros icon indicating copy to clipboard operation
luamacros copied to clipboard

lmc_http_get with http basic auth

Open Autom3 opened this issue 8 years ago • 4 comments

Would it be possible to add http basic auth support?

I would need something along the lines of: lmc_http_get("http://user:[email protected]")

Thanks in advance

Autom3 avatar Aug 29 '16 21:08 Autom3

Can be in my todo list but there are more important things...

me2d13 avatar Aug 30 '16 06:08 me2d13

Yep no problem, I tried adding it myself, but I lack knowledge of how this whole project works. Thanks!

Autom3 avatar Aug 30 '16 11:08 Autom3

Not really sure how Lazarus pascal works, but an option is using libcurl if there is no way to do it easily, I'm suppose it couldn't be the beast approach injecting an external dependency but libcurl has been used for decades now, so it's pretty stable

quirinux avatar Dec 12 '17 10:12 quirinux

I am planning an adding some options to the http server for myself (e.g. being able to return binary data in addition to strings). I'm not promising anything but I'll look into adding this as well.

mileso avatar Mar 28 '18 19:03 mileso