Suppose I have an extension that send requests to pages api.ext.com/addWord
and api.ext.com/getTranscr
Where to start to write an application that will intercept all requests to one page (the site will not receive them), but leave intact requests to other pages
Thanks to Matthew, the answer on Linux is
iptables -I OUTPUT -p tcp -m string --string "POST /addword?port=1001" --algo kmp -j DROP