Is it possible to call like Rest API from axios or fetch on COM API ?

Use this forum if you want to discuss a problem or ask a question related to a hMailServer beta release.
Post Reply
Prashanthady
New user
New user
Posts: 2
Joined: 2020-06-04 11:42

Is it possible to call like Rest API from axios or fetch on COM API ?

Post by Prashanthady » 2020-06-04 11:52

Hello ,

Can you please clarify will it possible to call hmailserver linke rest api for creating domain and email address using axios or fetch ?


COM API will it be helpful for the above problem ?

Thanks in advance for your reply.

palinka
Senior user
Senior user
Posts: 2014
Joined: 2017-09-12 17:57

Re: Is it possible to call like Rest API from axios or fetch on COM API ?

Post by palinka » 2020-06-04 12:08

Hmailserver doesn't have built in rest api. You would have to build your own. But yes, it's possible php -> COM.

Prashanthady
New user
New user
Posts: 2
Joined: 2020-06-04 11:42

Re: Is it possible to call like Rest API from axios or fetch on COM API ?

Post by Prashanthady » 2020-06-04 12:21

You mean for PHP application we can able to call COM API. Is it correct ? Does hmailserver will provide an endpoint for accessing from php application ?

Did we have any blog and support document on how to establish the connection it will me helpful for me to integration.

Thanks for your help.

User avatar
mattg
Moderator
Moderator
Posts: 20971
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Is it possible to call like Rest API from axios or fetch on COM API ?

Post by mattg » 2020-06-04 12:47

The PHPWebAdmin that is installed with hMailserver is a working example
https://www.hmailserver.com/documentati ... hpwebadmin
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

Post Reply