I'm trying to test our web app on iPhone. During the lifecycle our app is doing a call to a third-party api which allows calls only with a header 'origin: localhost' On desktop it's not a problem. On Android I can set up port forwarding. Can I do anything similar on iPhone? Is it possible?
I found this answer. but it describes a way to use url like [your pc name].local
which isn't what I need