How to get requests/responses through appium from ios simulator?

I need to intercept request/response from native application on simulator. It’s impossible by simple api request because the response is random. How can I do it through appium? (iOS)

Please refer https://appiumpro.com/editions/65