Read api calls of NativeApp with Appium

Hi, appium team) I’m new with appium and automation.

I’m experimenting with Appium for our NativeApp. Can we read with appium responses from the backend?
App receives JSON response from backend. I need to read parameter to assert test result. For iOS and Android native apps.
Is it possible?

Why would Appium do that?
You can implement that in your project inside your test - e.g. using Java by creating a call to that API and then compare it to your expected result.

1 Like

Thanks. I understand what you mean.

can you help me to call api in my react-native app

can you please give snippet code of reading response data in java ?