Forum Discussion
mhiggins
Staff
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.
fmarchese
4 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
- 2 years ago
- 10 years ago
Recent Discussions
- 4 days ago
- 2 months ago
- 3 months ago