简体   繁体   English

如何监控HTTP请求以便在我内置的ios应用程序中查看我的标头请求

[英]How to monitor http requests in order to see my header request in my ios app built in react native

I am developing an IOS app using React Native and I am trying to figure out how to monitor my http requests which comes out from my app to my server. 我正在使用React Native开发IOS应用程序,并且试图弄清楚如何监视从我的应用程序到服务器的http请求。 I tried looking in Network tab in the chrome but I didn't see my ajax requests. 我尝试在Chrome浏览器的“网络”标签中查找,但没有看到我的Ajax请求。

Thanks, 谢谢,

您可以使用Charles Web调试代理

You can turn on http logging at your server end. 您可以在服务器端打开http日志记录。 Server's can log the whole request payload. 服务器可以记录整个请求有效负载。 If you don't have access to the server, then you can use a passthrough proxy to capture the requests as well. 如果您无权访问服务器,则也可以使用直通代理来捕获请求。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 请参阅http请求一个应用iOS(安全性) - See http requests an app iOS (security) 无法将我的React Native应用程序部署到应用程序商店(iOS) - Unable to deploy my react native app to app store (iOS) React Native / Expo iOs - 在我的 Api 上获取网络请求失败 - React Native / Expo iOs - Network Request Failed with Fetch on my Api 如何在IOS中从我的React-Native应用程序打开外部应用程序? - How can I open a external App from my React-Native App in IOS? 确保http(s)请求来自我的iOS应用程序 - Make sure an http(s) request is coming from my iOS app 如何使用 TeamCity 构建我的 React Native 应用程序? - How to build my react native app with TeamCity? 如何使用简单的iOS操作扩展从React Native应用程序中的其他应用程序收集文件? - How to gather files from other apps in my React Native app with a simple iOS action extension? 如何在我的应用程序中使用React native打开iOS中的联系人详细信息屏幕 - How can i open contact detail screen in iOS from my app in React native 如何将 IOS 14 支持添加到我的 React Native 应用程序? - How can i add IOS 14 support to my React Native app? 如果应用是使用react-native构建的,如何在iOS的“打开方式”对话框中注册应用? - How to register app in “Open in” dialog in iOS if the app is built using react-native?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM