Thoughts on JSON structures / schemas / templates

Clifford Ilkay cilkay at gmail.com
Thu Jun 13 20:46:23 EDT 2019


On Thu, Jun 13, 2019 at 4:36 AM Nick Renders <omnis1 at arcict.com> wrote:

> Thank you for all the input.
>
> I would just like to clarify: we are not setting up our own REST
> service. We are simply making HTTP requests from Omnis Studio to an
> external REST server. I would like the make this implementation as
> flexible as possible, because I expect many different iterations
> (versions) of the REST service will be released. I want to stay away
> from any hard coded JSON, so that when an update to a request is
> necessary, there is no need to update the Omnis library.
>

Hi Nick,

My recommendation still stands. Use GraphQL. Here are a couple of articles
that explain how you can use GraphQL in front of existing REST APIs.

<https://medium.com/@nzmebooks/taming-rest-apis-using-graphql-419cc9c0ec8>
<https://blog.apollographql.com/layering-graphql-on-top-of-rest-569c915083ad
>

Regards,

Clifford Ilkay

+1 647-778-8696



More information about the omnisdev-en mailing list