Jump to content
testirme

Delphi Linux Curl

Recommended Posts

curl --unix-socket /var/run/docker.sock GET http://localhost:2375/containers/json

 

Is there a way to do something like this curl command in my Delphi application running in Docker? The important part is being able to communicate with processes over a socket.

Share this post


Link to post

Not sure I understand you, but I make a lot of curl command from my web app running on linux..

Example converting heic to jpg  I do this with curl command from Delphi on Linux ubuntu..

process

1)  image uploadet from web in  .heic format

2) save to disc

3) curl convert heic to jpg   using converter installed on linux

4) load .jpg  from disc

5) delete on disc

6) upload to s3

 

If you need something like this I can give you an example..  but maybe I am misunderstanding what you are looking for...

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×