Showing results for 
Search instead for 
Did you mean: 

Save data from REST API Response

0 Kudos

I'm trying to save the "localId" from a REST API response. I'm currenty using http-request component which i downloaded from the marketplace. Is there any way, by which i can bind the parameter from the json response to a app variable?

I know this could be done with a data resource. But I'm guessing there is a method by which a specific key from the json response can be stored inside an app variable

Any help is highly appreciated!

Former Member
0 Kudos

Thank you for visiting SAP Community to get answers to your questions. Since you're asking a question here for the first time, I recommend that you familiarize yourself with:, as it provides tips for preparing questions that draw responses from our members.

For example, you can:

- outline what steps you took to find answers (and why they weren't helpful)

- share screenshots of what you've seen/done

- make sure you've applied the appropriate tags

- use a more descriptive subject line

The more details you provide, the more likely it is that members will be able to respond. Feel free to also take our Q&A tutorial at:

Should you wish, you can revise your question by selecting Actions, then Edit.

By adding a picture to your profile you encourage readers to respond:

Questions on how to draw responses from members? Check out this discussion on how to improve questions.

Accepted Solutions (0)

Answers (1)

Answers (1)

Developer Advocate
Developer Advocate
0 Kudos

In the HTTP request flow function, you can get the response parsed as an object, and then select the field you want to save.

For example, I have this API, and I want to store totalSize in a page variable:

And I have this logic, with HTTP Request going to Set page variable, and then just displaying the page variable:

So in the Set page variable I set my page variable to this formula:


  • The formula is red because AppGyver doesn't know from my response object because I haven't defined a schema.
  • I can't even first try to select the Output type binding and select the resBodyParsed property since this is an object and my variable is a string, AppGyver will not offer it to me.