I would like the retrieve the content of a website but the website is build with a exclamation mark in the URL and this doesn't seem to work.
Things I tried:
<?php
echo file_get_contents('https://domain.com/path/!weird.formatted?url=1');
echo file_get_contents('https://domain.com/path/%21weird.formatted?url=1');
echo file_get_contents(urlencode('https://domain.com/path/!weird.formatted?url=1'));
echo file_get_contents(rawurlencode('https://domain.com/path/!weird.formatted?url=1'));
I also tried to retrieve the content with PHP Curl but here seems the exclamation mark also a problem.
So how do I retrieve this webpage? Any suggestions would be highly appreciate.
Update
The URL I try to retrieve the content from: https://loket.bunnik.nl/mozard/!suite86.scherm0325?mPag=1070