Alfredo Neto
Alfredo Neto
TTypebot
Created by Alfredo Neto on 6/26/2024 in #help-and-questions
Typebot not conect Minio
I uploaded a minio and I can transfer files to it via AWS CLI using the path http://s3.domain.com:9000 I can also get a list of files via AWS CLI I can also access it publicly at http://s3.domain.com:9001 I configured the variables in typebot: S3_ACCESS_KEY=minio S3_SECRET_KEY=Su3epn3X3H6pgmenoQfX S3_BUCKET=typebot S3_ENDPOINT=s3.domain.com S3_PORT=9000 S3_SSL=false Folow docker-compose minio: Version: "3.8" volumes: s3_data: networks: net_services: external: name: net_services services: minio: labels: virtual.host: 's3.domain.com' # change to your domain virtual.port: '9000' virtual.tls-email: '[email protected]' # change to your email container_name: minio-gen image: minio/minio command: ["server", "--console-address", ":9001", "/data"] ports: - '9000:9000' - '9001:9001' environment: MINIO_ROOT_USER: minio MINIO_ROOT_PASSWORD: Su3epn3X3H6pgmenoQfX volumes: - s3_data:/data networks: - net_services However, he can't save anything in the minio. Can someone help me?
14 replies
TTypebot
Created by Alfredo Neto on 4/4/2024 in #help-and-questions
http request multipart/form-data
I need to send a file via API to an external API. This API receives via body of the multiform type. How do I send this from the typebot http request node? Folow Curl curl -X POST 'https://di.xxxxx.com/v1/files/upload' \ --header 'Authorization: Bearer {api_key}' \ --form 'file=@localfile;type=image/[png|jpeg|jpg|webp|gif] \ --form 'user=abc-123'
8 replies