10

I am trying to stub out a request locally with a response saved within a local file. This is working fine however I need to get to ignore an initial request of the same URL but with a Method type of Options.

The problem is, the local mapping is being mapped to this request instead of the Intended GET request which leads to an error. Is There away way I can specify something extra so the initial options request which comes back is ignored.

Example image

Hope this clear enough

Thanks.

  • This is a major limitation of Charles, and is discussed in [this question](https://stackoverflow.com/q/52048842/562978). – tephyr Jun 25 '19 at 17:03

1 Answers1

0

It's a limitation of Charles, that doesn't allow you to specify the matching HTTP Method.

I suggest using other tools like Proxyman, that you can define which Method you need for the Map Local Tool. You can map entire Response HTTP Message (Includes Header and Status Code as well)

enter image description here

Nghia Tran
  • 2,600
  • 2
  • 16
  • 25