@DasKairo is right: you need a proxy.
A proxy is some software hosted on the backend of a web-server that forwards requests from the URL you access to a target URL.
Instead of accessing https://inventory.roblox.com
, you might access a proxy someone hosted at https://inventory.someproxy.com
.
A good proxy for the ROBLOX API I use is roproxy. Instead of accessing https://inventory.roblox.com/v1/users/436372211/can-view-inventory
, simply access https://inventory.roproxy.com/v1/users/436372211/can-view-inventory
.