luamacros
luamacros copied to clipboard
lmc_http_get with http basic auth
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
Can be in my todo list but there are more important things...
Yep no problem, I tried adding it myself, but I lack knowledge of how this whole project works. Thanks!
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
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.