Uploading model to catalog with HTTPS

How can I upload a model (a script plugin to be exact) to a catalog
by using HTTPService (or external JS/Python API if possible)
instead of Explorer -> RMB on ModuleScript plugin -> Save to Roblox?

I tried using https://publish.roblox.com/v1/assets/upload but it cant authenticate me with valid .ROBLOSECURITY

Its not possible to be precise. You cant authenticate or even Bypass .ROBLOXSECURITY so you cant upload it using this.

So how does Roblox Studio upload models to the catalog?

They also HTTP service and probably the same URL but its able to authenticate it.if roblox allowed us to do it with HTTP Service it would probably be spammed.

@ViridianDevil explains it better.

The software has elevated API access simply. It is also built by Roblox meaning they can retrieve your cookies directly from your account and then using their elevated API permissions they upload.

1 Like

I’m not sure if this will work but you could create a glitch project with a script that requires your .ROBLOXSECURITY so it can access your account and upload the image or model. Next you could use HTTP Service in your plugin to run this. However your glitch project can’t run without the .ROBLOXSECURITY, and there is no direct way to retrieve the players cookies without asking them for it which is against TOS.

Roblox does not have a direct way to just upload models on a players account with plugins and that is for a good reason.

still, the data goes through https from my pc. Network cares only about the data, headers, etc.
studio still have to use http socket in order to send data to roblox
At least thats how it should work ;/

how would I create such glitch project? Idc about other players, i just want to upload my own model without using explorer

It is complicated I will try to work on code for it If I get a chance however if you want to do it your self you could begin by starting with the Hello Express template on glitch.

Try working with Noblox.JS noblox.js lib/asset/uploadItem.js

Unfortunately there is no way to do this for models due to the fact that models can’t just be saved to files and models are a custom type of data only Roblox Studio supports. However for simple things like decals and shirts this is 100% possible.