I am making request to Roblox as follows to obtain 3D avatar thumbnail information:
https://thumbnails.roblox.com/v1/users/avatar-3d?userId=312423083
I am getting correct response of:
{"targetId":312423083,"state":"Completed","imageUrl":"https://t2.rbxcdn.com/0b9046e63072c1b0b4d2b25174bc6c6d"}
Then I make another request to obtain more information:
https://t2.rbxcdn.com/0b9046e63072c1b0b4d2b25174bc6c6d
I get:
{"camera":{"position":{"x":4.25077,"y":105.587,"z":-11.3291},"direction":{"x":0.347968,"y":0.246151,"z":-0.904615},"fov":28.7642},"aabb":{"min":{"x":-1.61185,"y":99.9518,"z":-2.70975},"max":{"x":1.97061,"y":105.145,"z":1.24678}},"mtl":"0fd0b427348a9255fd1e7fb9cff5dbc4","obj":"c66619d1976473ddcaa7e36b62867522","textures":["d7a7e00f9cd98ba0634d683a8d0f5aa3","9b1e86351ca50dd3f6021578952e0ae7","a4a5696f9dfd638e109817176b86cb2f"]}
Then I try to load OBJ:
https://t1.rbxcdn.com/c66619d1976473ddcaa7e36b62867522
It works fine, I get OBJ data. But when I try to make request to obtain MTL file, I get access denied:
https://t1.rbxcdn.com/0fd0b427348a9255fd1e7fb9cff5dbc4
How can I get past the access denied error?