Problems uploading images to Firebase storage

I’m trying to take photo after attaching camera at Electron 3g module, and upload the photo to firebase storage.

By writing json file, I tried to upload it using ‘webhook create’ order, but following error had occurred.

“Error Webhook creation failed: url must use a valid protocol and not reference private hostnames”

This is the following Json code (https://github.com/rickkas7/firebase_tutorial is been referred.)

{
    "event": "uploadPicture",
    "url": "gs://firebase-testUpload.appspot.com/pict.json",
    "requestType": "POST",
    "query": {
    	"auth":"-"
    },
    "json": {
		"BUFFER": "{{BUFFER}}"
    },
    "mydevices": true,
    "noDefaults": true
}

This is the Json code operate properly which sending GPS coordinate and the time.

{
    "event": "testGPS",
    "url": "https://fir-testUpload.firebaseio.com/TEST0001/GPS.json",
    "requestType": "POST",
    "query": {
    	"auth":"-"
    },
    "json": {
		"LAT": "{{LAT}}",
		"LNG": "{{LNG}}",
		"TS": "{{PARTICLE_PUBLISHED_AT}}"
    },
    "mydevices": true,
    "noDefaults": true
}

If what I’m thinking now is correct, it seems like the part of the url which starts with ‘gs’ is the one with the problem.

Is there any solution for this?

Where does the gs:// protocol descriptor come from?
Should this not be https://?

I referenced it from the console of firebase.

Anyone else attempting this?

I’ve got a camera integrated to an Electron and able to move an image out over serial either all at once or in packets, now I’m attempting an upload it to firebase storage similar to this thread. I don’t think the publish option will work due to the packet size restrictions and the once per second restriction is limiting the option of sending chunks of data and reconstructing the jpg on the other side. Possible it seems but likely not an optimal solution.

HTTPS post might work but I don’t really want to integrate the glowfish library to proprietary code and there are still complications past this. Would love to see a file upload supported in a simplified fashion so that bulk data can be stored somewhere.