Thank you, but it's not the extra slash it doesn't work also with
double slash or adding https
I tried also with multiple other website but always the same could not …
is there any protection to access from Swift? if I put the same URL in safari it works
Yes, it may be App Transport Security policy at work. This may be an Apple platform issue and not a Swift issue per se.
This forum is more for Swift language discussions, not about any particular framework, Apple or not. Although that distinction isn't always super clear, you may have better luck getting help over on Apple Developer Forums.