How to upload files in my custom Integromat app? - make.com

I am implementing an API that supports image upload. How to pass an image into an Integromat module and send it to the server?

There are many ways how to upload a file in the module. You can check how we upload files in our example Apps:
application/octet-stream: https://www.integromat.com/app/dropbox/5/module/uploadFile
multipart/form-data: https://www.integromat.com/app/pipedrive/2/module/UploadFile
More info about how to implement multipart/form-data here: https://docs.integromat.com/apps/structure-blocks/api/multipart-form-data

I think the question entails using HTTP module.
You need to host the file somewhere in Dropbox or Google drive... AWS or anywhere on the web.
Use HTTP module to download the file (put file URL in the settings of the blue hTTP module), then link Data to the next module..
We have done this with Facebook Messenger application when user shared pictures or files

Related

How to upload file from my computer to the Integromat Scenario?

Is it possible to use a file that is stored on my local computer in an Integromat scenario?
This is not possible. You can use one of the supported cloud storage services such as Dropbox or Google Drive to upload the file manually, and then use the corresponding Integromat app (Dropbox, Google Drive...) to download the file into your scenario.
If you already have a file URL, it is also possible to use it directly with a general HTTP module called "Get a file".

Image URL vs image download to display in web application using AWS S3

I have images stored in my AWS S3 and I would like to display it to a user. What is the most efficient way of doing that? Should I get the image url or download the image itself and display.
There are like 1000 images which need to be displayed.
Front-end - Angular
framework - .netcore
It depends on the permissions you have on your bucket. If it's public, then just link directly to the files in AWS. If it's private, then you'll have to download them with something that does have access (such as your app) and serve them to the user from there.

how to upload files to onedrive for business through drupal?

I have a drupal site and an oneDrive for business account. My site has a software section through which we provide software to download for public. What we use to do is that we upload the software in our ODFB account, create a download link, then put the link after the description of the software.
What I wanted to do is that while posting the software, there should be an option to upload the software. And the file should go straight to our ODFB account instead of the server where the website is hosted.
Is it possible? Any module available?
This should be possible using the OneDrive upload APIs. If the file size is less than 100MB, you should be able to use the simple item upload API:
https://dev.onedrive.com/items/upload_put.htm
However, if the file is larger, you can use resumable item upload API:
https://dev.onedrive.com/items/upload_large_files.htm
With the right permissions, you can access your OneDrive for Business using /drives endpoint and save the file there.

Firebase Storage gs url to http

I downloaded a Unity project that use images stored in Firebase server using the following link:
https://zplayer360-86b30.firebaseapp.com
Now I want to reproduce this with my own file. I created a Firebase project using Firebase Console, uploaded manually the images, but now I click "copy folder url" button and it provide me only this link:
gs://insidehome-29c9e.appspot.com/
I need a free HTTP public link.
How can I obtain this?
When you upload a file to Firebase Storage, it automatically gets:
a Google Storage URL (starting with gs://), which you can use to access the file through the Firebase Storage SDK and the Google Storage API.
a download URL (starting with https://), which is a publicly-readable-but-non-guessable URL that you can use to download the URL with regular HTTP clients
What you're looking for is the second URL, which you can find in the Firebase Storage console when you select a file:
At the bottom right you can see the download URLs for the file. One of these is auto-created when you upload the file, but you can create more of them or revoke existing ones.
I am not entirely sure what you mean by "free" URL. The link is publicly readable, but downloads will count against your Firebase Storage download quota of course.
If there are no rules on Firebase storage. You are not protected.
Then it's publicly-readable-and-guessable, One can convert gs:// URL to https:// to download any file without Google SDK's.
https://firebasestorage.googleapis.com/v0/b/[projectID].appspot.com/o/[folderName]%2F[fileName]
Google Storage URL
gs://invitepeople-5d38c.appspot.com/profilePhotos/profile_1.jpg
Https downloadable URL
https://firebasestorage.googleapis.com/v0/b/invitepeople-5d38c.appspot.com/o/profilePhotos%2Fprofile_1.jpg?alt=media
Don't guess profile_2.jpg :)

GraphHopper offline routing using .osm.pbf file

I downloaded the .map file and display with Mapsforge. Now, I want to find route offline using GraphHopper.
Can anyone give me an example link?
What do I need to do for offline routing with GraphHopper and what files I need and where to put the file in a mobile directory?

Resources