61
Views
3
Comments
Solved
Retrieving Data from a REST API (GET)
Question

On the following lab: Retrieving Data from a REST API GET.en-US, I was asked to consume a Rest API create a single method, set it as GET and URL as 

https://expertsmobile.outsystems.com/ContactsAPI/rest/v1/contacts/

and it was supposed to show this on test tab: 

but its showing this:

How should i approach this problem?

I attached the provided file to begin with.

Quick Start - REST Contacts - GET.oap
2024-10-31 16-25-26
João Palhares
Solution

I found the solution for that issue.

On the following lab they showed this in a exercise:

So I used their "Quick start" app to begin with, to see if i was doing something wrong and I saw the same URL that is different from "expertsmobile" and it works fine.

2022-07-11 14-05-36
Jeroen Barnhoorn

Hi João,

I tried and got the same result. This seems to be an issue with the API that was provided for this training. I've reported it to OutSystems.

2024-10-31 16-25-26
João Palhares
Solution

I found the solution for that issue.

On the following lab they showed this in a exercise:

So I used their "Quick start" app to begin with, to see if i was doing something wrong and I saw the same URL that is different from "expertsmobile" and it works fine.

2019-01-07 16-04-16
Siya
 
MVP

Now it works even with GET. I think after @Jeroen Barnhoorn reported its resolved.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.