Charles Proxy: Map to GET Request instead of OPTIONS

不羁岁月 提交于 2019-12-10 18:15:10

问题


Is there a way to do a local mapping in Charles based on a specific request? My API makes both a OPTIONS request followed by a GET request.

When I do a local mapping in Charles, it maps the response to that OPTIONS request. I would like it to map the response to the GET request instead.

Is there a way around this? I'm new to this tool.

Any help is appreciated. Thanks in advance!


回答1:


I think this has already been discussed here.

As it is said there, Charles does not provide any way to be able to distinguish between different HTTP requests by its method, but you may be able to workaround it by filtering by empty body requests.



来源:https://stackoverflow.com/questions/53087959/charles-proxy-map-to-get-request-instead-of-options

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!