[英]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.