Consume Existing REST API

Hi,

I am new to outsystems. I have two questions.

  1. Is it is possible to create a PWA from Reactive Web App ?
  2. I want to use outsystems for UI development only. We have REST API's already available. Is it is possible to consume existing REST API's and use outsystems for UI only development ?


Regards,

Karthik

Hello Karthik,

Welcom to OutSystems word!

1. Please see the section "Create a Progressive Web App" in documentation here: https://success.outsystems.com/Documentation/11/Delivering_Mobile_Apps/Early_Access_-_Distribute_as_a_progressive_web_app_(PWA)

You can create PWA from Mobile app

2. Yes you can, just need to call the REST API in your OutSystems application.

Please see documentation here: https://success.outsystems.com/Documentation/11/Extensibility_and_Integration/REST/Consume_REST_APIs


Hope this helps you.


BR,

Luis

Hello Karthikeyan Jeganathan,

well come to OS,

yes, both points you mentioned above are possible to achieve in Outsystem, please take a look on the documentation that  Luís Cardoso already commented above, still if you need more assistance, to please feel free to ask us.

cheers

An extra note on the second topic.

I've done it before and it worked fine.

For most sites/apps, you have advantages in developing the non-core components in OutSystems. If this is to replace a legacy system and you have the entire logic and data already set, then the API is probably complete and should be enough.

It is more a matter of mindset than of technology. If your team is familiar with OS, having to do everything by API is slower and less "fun". If your team knows the former app and is new to OS, they will probably be more comfortable with the API.

Hi,


Question 1:

As i understood from tutorials, it is not possible to create PWA out of reactive web app.

PWA can only be created from Mobile/Tablet app. Please confirm this.


Question 2:

Is there is any sample app which uses REST API, please send me link of it.


Regards,

Karthikeyan Jeganathan


Hello,

Please see my comments below:

1. Correct, that is what I said on the first comment (Note that the PWA feature works with Mobile Apps only.)

2. Please see example here: https://www.outsystems.com/forge/component-overview/4630/sample-rest-api

Send the oml file in attchment

You can also give a look in the documenation here: https://success.outsystems.com/Documentation/11/Extensibility_and_Integration/REST/Consume_REST_APIs/Consume_One_or_More_REST_API_Methods


Also, you can have a look on section "Consuming an External REST API" of the course Integrating with Web Services here: https://www.outsystems.com/learn/courses/116/integrating-with-web-services/


Karthikeyan Jeganathan wrote:

Hi,


Question 1:

As i understood from tutorials, it is not possible to create PWA out of reactive web app.

PWA can only be created from Mobile/Tablet app. Please confirm this.


Question 2:

Is there is any sample app which uses REST API, please send me link of it.


Regards,

Karthikeyan Jeganathan




Solution

Karthikeyan Jeganathan wrote:

Hi,


Question 1:

As i understood from tutorials, it is not possible to create PWA out of reactive web app.

PWA can only be created from Mobile/Tablet app. Please confirm this.


Question 2:

Is there is any sample app which uses REST API, please send me link of it.


Regards,

Karthikeyan Jeganathan


Hi Karthikeyan,

Question 1:

I can confirm PWAs can only be created from Mobile Apps.

Question 2:

Just look for ‘Connectors’ on the Forge as some of them use REST APIs and contain demo applications that demonstrate how to integrate them in an OutSystems application.

Regards,

Nordin

Solution

Hi Karthikeyan,

I have an extra note for first point. 

If you want to develop PWA for wider screen size then you can create a table app instead of mobile and then switch it to PWA like you do for mobile.