Hi! I've my API that verifies the content on the website. I want to use TitaniumWebProxy to block a website - first I want to send an address (I mean URL) to API, then if I get a reply - block it URL or not.
If I use the AfterResponse method, I can send the url to my API, but the page opens during this time and I can't block it - It's too late. However, if I use the BeforeRequest or BeforeResponse method, the connection is suspended, nothing happens and I cannot connect to the API or enter the page. Huge delays.
What's the best way to do this?
Thank U so much.
Hi! I've my API that verifies the content on the website. I want to use TitaniumWebProxy to block a website - first I want to send an address (I mean URL) to API, then if I get a reply - block it URL or not. If I use the AfterResponse method, I can send the url to my API, but the page opens during this time and I can't block it - It's too late. However, if I use the BeforeRequest or BeforeResponse method, the connection is suspended, nothing happens and I cannot connect to the API or enter the page. Huge delays. What's the best way to do this? Thank U so much.