Forum Discussion
mhiggins
4 years agoStaff
Custom rules come in 2 basic flavors:
1. Path must exist (no regex)
2. If a path exists, apply regex (matching or not matching)
You should be able to craft a POST rule of type 2. This rule will apply only when a POST is found.
A POST rule of type 1 would require that the POST exists and could then be followed up with a second rule of type 2 to apply regex to the required POST.
- fmarchese4 years agoNew Contributor
thanks for the quick reply mhiggins , but when we create a custom rule only for POST responses for example, and select an api to test it that has no POST methods it returns an error like this:
Maybe I am doing something wrong.
Thanks in advance
- mhiggins4 years agoStaff
type this and build up from there..... (attached)
Related Content
- 10 years ago
- 5 years ago
Recent Discussions
- 13 days ago
- 13 days ago
- 17 days ago