I am using a webhook to call a simple php script on my webserver to keep my project sync with bitbucket. I've two branches on this project, the master and one for developement.
The hook url looks like this: https://app.mysite.com/hook-randomstring.php
The two branches are hosted on the same machine and are protected by cloudflare, but while I am able to add "https://app-dev.[...]/hook[...].php" I am not able to add the hook for the master branch.
The error shown is: Invalid URL
P.S: I've also added the bitbucket post ips to the cloudflare firewall but this should not be a problem as one url works and the other does not.