Find Jobs
Hire Freelancers

Multipart date post file (txt) in ruby on rails app

€8-30 EUR

In corso
Pubblicato più di 6 anni fa

€8-30 EUR

Pagato al completamento
Hello, I'm building a website for the management of an hotel. I'm trying to post a txt file to an external server (police), but i'm a beginner so need some help. The file (which i generate) have to be send to a server with the following caracteristic: ENCTYPE="multipart/form-data" METHOD="POST" type="file" name="fichero" the url is : https://usuario:contrase%C3%B1a@[login to view URL] usuario is ID and contrase is Password So far i've written this using multipart but nothing it coming through: require 'net/http/post/multipart' url = [login to view URL]("https://" + username + ":" + password + "@[login to view URL]") [login to view URL](filep) do |jpg| req = Net::HTTP::Post::[login to view URL] [login to view URL], "file" => [login to view URL](jpg, "file", "document") http = Net::[login to view URL]([login to view URL], [login to view URL]) http.use_ssl = ([login to view URL] == "https") response = [login to view URL](req) redirect_to account_path flash[:notice] = "data send to police" end end --------------------------- Let me know if you can help me :) Thanks in advance
Rif. progetto: 15774010

Info sul progetto

3 proposte
Progetto a distanza
Attivo 6 anni fa

Hai voglia di guadagnare un po'?

I vantaggi delle offerte su Freelancer

Imposta il tuo budget e le scadenze
Fatti pagare per il lavoro svolto
Delinea la tua proposta
La registrazione e le offerte sui lavori sono gratuite
3 freelance hanno fatto un'offerta media di €31 EUR
Avatar dell'utente
I am an long time ruby on rails developer. That is my every day job and its very familiar to me. I can do it very quickly.
€28 EUR in 1 giorno
0,0 (0 valutazioni)
0,0
0,0

Info sul cliente

Bandiera: SPAIN
Malaga, Spain
0,0
0
Metodo di pagamento verificato
Membro dal mar 28, 2016

Verifica del cliente

Lavori simili

Need a long term consultation for QA Automation for Ruby Rails Portal
$10-30 USD
Need a long term consultation for QA Automation for Ruby Rails Portal
$10-30 USD
Marketplace Website Development
$750-1500 USD
Ruby on Rails Developer - Full Time
$8-15 USD / hour
We Are Looking for a Solid Idea for a Web Platform to Promote the Recovery of Our Company (So ​​there is no project idea and we are looking for one to accept and work on)
$750-1500 USD
Marketplace Website Development
$750-1500 USD
We Are Looking for a Solid Idea for a Web Platform to Promote the Recovery of Our Company (So ​​there is no project idea and we are looking for one to accept and work on)
$750-1500 USD
Ruby on Rails Developer - Full Time
$8-15 USD / hour
Kibana Integration with Ruby on Rails
$15-25 USD / hour
Resolve Growing Sidekiq Enqueued Queue Issue
$30-250 USD
Salesforce Plugin Development for Sales Methodology
$30-250 AUD
Kibana Integration with Ruby on Rails
$15-25 USD / hour
Ruby on Rails - Marketplace of perinatal well being - 27/03/2024 06:51 EDT
€18-36 EUR / hour
Salesforce Plugin Development for Sales Methodology
$30-250 AUD
Resolve Growing Sidekiq Enqueued Queue Issue
$30-250 USD
Ruby on Rails - Marketplace of perinatal well being - 27/03/2024 06:51 EDT
€18-36 EUR / hour
We Are Looking for a Solid Idea for a Web Platform to Promote the Recovery of Our Company (So ​​there is no project idea and we are looking for one to accept and work on)
$750-1500 USD
Kibana Integration with Ruby on Rails
$15-25 USD / hour
Ruby on Rails - Marketplace of perinatal well being - 27/03/2024 06:51 EDT
€18-36 EUR / hour
Need a long term consultation for QA Automation for Ruby Rails Portal
$10-30 USD
Grazie! Ti abbiamo inviato tramite email il link per richiedere il tuo bonus gratuito.
Non è stato possibile inviarti l'email. Riprova per piacere.
di utenti registrati di lavori pubblicati
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Caricamento anteprima
Autorizzazione per la geolocalizzazione concessa.
La tua sessione è scaduta ed è stato effettuato il log out. Accedi nuovamente per piacere.