# REST Server

**URL:** https://talk.remobjects.com/t/rest-server/12410
**Category:** Remoting SDK
**Created:** [March 7, 2017, 10:18am UTC](https://talk.remobjects.com/t/rest-server/12410 "2017-03-07T10:18:34Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![EvgenyK](https://talk.remobjects.com/user_avatar/talk.remobjects.com/evgenyk/32/16_2.png) [@EvgenyK](https://talk.remobjects.com/u/EvgenyK)
#### Post date: [March 7, 2017, 4:06pm UTC](https://talk.remobjects.com/t/rest-server/12410/2 "2017-03-07T16:06:02Z")

</div>

for delphi platform you can implement custom server that accepts parameters in url (i.e. `GET` method) via [HTTPServer.OnCustomResponseEvent](https://docs.dataabstract.com/API/Delphi/TROBaseHTTPServer_Class/#OnCustomResponseEvent) event.

as a result, your server can accept something like (in example is used the post message)

```auto
 http://localhost:8099/xxxx? __MessageType=Message&__ InterfaceName=MegaDemoService& __MessageName=GetServerTime&__ ClientId=b51199fe-9e86-4aa1-8cb1-54b4e05ab131

```

and receive answer like

```auto
__MessageType=Message&__ InterfaceName=MegaDemoService& __MessageName=GetServerTimeResponse&__ ClientID=B51199FE-9E86-4AA1-8CB1-54B4E05AB131&"Result=2015-08-18 19:01:50"

```

see [Using OnCustomResponseEvent in a ROSDK Server](https://talk.remobjects.com/t/using-oncustomresponseevent-in-a-rosdk-server/6767) code snippet and related topics in that article

---

_[View the full topic](https://talk.remobjects.com/t/rest-server/12410)._
