I get 403 on a subrequest from a worker but I'm getting correct response on postman

For Workers & Pages, what is the name of the domain?

https://mangahour.com/anime/hls/master?referer=https://megacloud.club/&src=https://lightningspark77.pro/_v7/0a777bceaa4663bd79157850053b301c31998b031cdf9648a4929b168d7e9f5ee529628617e5995b0cb8bdf169985a762bd709329d510d40be65d72b8243b664f67d5d6997ef0336fb0b93c007870ff6749b0b945cf053afdc67a6b0d1454465cedeaadb5139c5bbd9bd0baf0e2d75bbb12f1990da873f1b1ab640fcdfb440bc/master.m3u8

What is the error number?

403

What is the error message?

Forbidden

What is the issue or error you’re encountering

I have a workers hosted on my account that makes sub-request a external endpoint and I get 403 as a response and when I make same request from postman or localhost I get correct response.

What are the steps to reproduce the issue?

This Endpoint https://mangahour.com/anime/hls/master?referer=https://megacloud.club/&src=https://lightningspark77.pro/_v7/0a777bceaa4663bd79157850053b301c31998b031cdf9648a4929b168d7e9f5ee529628617e5995b0cb8bdf169985a762bd709329d510d40be65d72b8243b664f67d5d6997ef0336fb0b93c007870ff6749b0b945cf053afdc67a6b0d1454465cedeaadb5139c5bbd9bd0baf0e2d75bbb12f1990da873f1b1ab640fcdfb440bc/master.m3u8 will give you 403 and

postman curl:
curl --location ‘https://thunderwave48.xyz/_v7/0b1da44856adb02989fb193c0813f7ff483b028f8689a595f742713f10313cc1c04be998b8ef3bd95fa43f089c45879c9ceb4c27c98dbc6128edcc1c3b06c6cd306db3b95e93b22308500fea57009d60428761a7db81ad35581b7b94d23e08f3beaf0715caf1d3cc309c7091c8791cbbb727a648f802dc336b37fb47524e0d8f/master.m3u8
–header ‘Referer: https://megacloud.club/
–header ‘Host: thunderwave48.xyz’

Will either give you 200 or 204