Skip to content


Concepts and Principles




API Explorer


Release Notes

TORO Integrate

Coder Studio

Coder Cloud

Bug Reports


Publishing REST Endpoints via Gloop Service Properties

Aside from creating Gloop REST APIs, there's a simpler way to publish your very own REST endpoints: using Gloop Service properties! Creating REST endpoints this way is simpler, however, doing so doesn't offer much flexibility compared to what Gloop REST APIs are capable of. Nevertheless, here are the steps you need to follow in order to create a REST endpoint directly from your Gloop Service:

  1. Open the Gloop Service you wish to expose as a REST endpoint by double clicking on its .gloop file in the Coder Navigator view.
  2. Click the table icon in the Gloop Service Editor toolbar to show the properties of the service. The Properties view, by default, will show on the right side of your screen.
  3. Click on REST tab inside the view.
  4. Select which HTTP methods your endpoint will support.

    If you select POST, PUT, or PATCH, you will be allowed to set the body of your requests. The body can be any of the Gloop Service's inputs and you can choose which one via the dropdown box for Body Parameter.

    [start-toggler] The *Body Parameter* dropdown box ![[Coder Studio]] The *Body Parameter* dropdown box ![[Coder Cloud]] [end-toggler]

  5. Enter the URL path you want to use when accessing the service. You can set an input property (except Gloop Models and objects) as path parameter by enclosing it with {}.

  6. Save the changes by clicking on the save button in the toolbar or by pressing Command. Your REST endpoint should be exposed shortly after your instance has finished mapping your new REST endpoint's path. This typically only takes a few seconds.

Here's a demo exposing HelloYouService from the examples package as a REST GET endpoint:

Exposing a REST GET endpoint via Gloop Service Properties

Exposing a REST GET endpoint via Gloop Service Properties

Testing REST Endpoints

After your instance has successfully published your new REST endpoint, you can try the endpoint out via TORO Integrate's API Explorer! Simply click on the URL provided in the Properties view in order to visit its page.

Gloop Service REST properties API Explorer URL

Gloop Service REST properties API Explorer URL