#1 2018-06-05 11:06:42

hkcity1111
Member
Registered: 2014-08-18
Posts: 14

Mormot Http Client like Indy

Hi all,

We usually mormot rest server . I want to post data to external web api inside mormot rest server.
I usually use indy http client. Is there any class mormot to do this purpose as well?
Thanks

Regards,
  Kenneth

Last edited by hkcity1111 (2018-06-05 11:09:14)

Offline

#2 2018-06-05 12:31:17

igors233
Member
Registered: 2012-09-10
Posts: 241

Re: Mormot Http Client like Indy

Take a look at SynCrtSock unit, you can use helper functions like HttpGet, HttpPost or directly work with socket clases, TWinHTTP for example.

Offline

#3 2018-06-06 00:27:24

hkcity1111
Member
Registered: 2014-08-18
Posts: 14

Re: Mormot Http Client like Indy

Thanks igors233. I will try it.

Offline

Board footer

Powered by FluxBB