Find Jobs
Hire Freelancers

Canot Post Form | Angular.js | Error 404

$140-450 MXN

Kansellert
Lagt ut omtrent 7 år siden

$140-450 MXN

Betalt ved levering
I have a trouble with my code, the Site works on Angular.js and the submission for the form show Error 404 Cannot POST . I think the $[login to view URL] no have the correct path. However i need a freelancer to fix the problem quickly. I have the SSH access to make this possible. Controller JS: ------------------------------------------------------------------------------------------------------------- [login to view URL]('GeekSolutionsController',['$resource','$scope', '$cookies', '$cookieStore','$http','$analytics', '$location', '$route', '$routeParams', '$rootScope', 'httpUpdate', function ($resource, $scope, $cookies, $cookieStore, $http, $analytics, $location, $route, $routeParams, $rootScope, httpUpdate) { /* Usage of $[login to view URL] =... instead of this.var=... will result in calling directly {{[login to view URL]}} * in HTML'angular instead of calling the controller specifically as {{[login to view URL]}} */ $[login to view URL] = { result: 'Antes de enviar tu solicitud para el evento, verifica que la información sea correcta. ' }; [login to view URL] = function () { var scope = [login to view URL]($('#razon_social')).scope(); [login to view URL]('Los datos son: ' + scope); $[login to view URL]('/mailEvent', $[login to view URL]).success(function (data, status, headers, config) { /*$[login to view URL] = 4;*/ [login to view URL]('Success: ' + data); $[login to view URL] = 'El mensaje fue enviado satisfactoriamente. ¡Muchas gracias!'; // clear the form so our user is ready to enter another // $[login to view URL]('ContactForm', { category: 'Contact', label: 'ContactForm' }); }).error(function (data, headers, status, config) { var pathname = [login to view URL]; [login to view URL]('El error es el siguiente: ' + data); [login to view URL]('El encabezado es: ' + headers); [login to view URL]('El config es: ' + config); [login to view URL]('El status es: ' + status); [login to view URL]('El pathname es: ' + pathname); //$[login to view URL] = 4; $[login to view URL] = 'El mensaje no fue enviado, hemos detectado amenazas de seguridad.'; }); }; }]); Server side JS: ------------------------------------------------------------------------------------------------------------- [login to view URL]('/mailEvent', function (req, res) { [login to view URL]('Pasamos al [login to view URL]'); var smtpTrans = [login to view URL](smtpTransport(SMTPoptions)); //Variables are body. : subject, text, name, mail, phone, ext, business, address var mailOptions = { from: '', to: '', //to: '', replyTo: [login to view URL], subject: [login to view URL], text: [login to view URL], //Use object : req.body.ng-model to be posted from angular, html: '' }; [login to view URL](mailOptions, function (err, responseStatus) { [login to view URL](); // Don't forget to close the connection pool! [login to view URL]('/mailEvent sendMail Called'); if (err) [login to view URL](err); [login to view URL]('It worked!');//Response required for Angular & Express method }); }); The error still there friends, i have HTML5, Angular Controller, Server Side. However i have other forms works perfectly in the site, but this one no work. I paid only the just. We can chat and discuss the job. Cheers!
Prosjekt-ID: 12827271

Om prosjektet

5 forslag
Eksternt prosjekt
Aktiv 7 år siden

Ønsker du å tjene penger?

Fordeler med budgivning på Freelancer

Angi budsjettet og tidsrammen
Få betalt for arbeidet ditt
Skisser forslaget ditt
Det er gratis å registrere seg og by på jobber
Tildelt til:
Brukeravatar
Greetings Go though your requirements ready to fix the issue that you are facing and insure to provide Quality work as needed Thanks Shiv
$370 MXN om 1 dag
4,9 (836 omtaler)
8,9
8,9
5 freelancers are bidding on average $399 MXN for this job
Brukeravatar
A proposal has not yet been provided
$345 MXN om 2 dager
4,8 (38 omtaler)
4,9
4,9
Brukeravatar
Hello, I am eager to work on this project because it fits my experience and skill.I believe I would deliver ot you the best of work. I have handled many projects of this nature for over seven years now and therefore I would be able to work faster and efficiently on this one. Feel free to go through my profile to inspect the reviews and feedback I have had on my most rcent projects.I have a lighter workload currently, and I woudl dedicate enough time to doing the project. You are assured of quality work and timely delivery.
$470 MXN om 1 dag
0,0 (0 omtaler)
0,0
0,0

Om klienten

MEXICOs flagg
Querétaro, Mexico
5,0
13
Betalingsmetode bekreftet
Medlem siden aug. 5, 2015

Klientbekreftelse

Takk! Vi har sendt deg en lenke for at du skal kunne kreve din gratis kreditt.
Noe gikk galt. Vær så snill, prøv på nytt.
Registrerte brukere Publiserte jobber
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Forhåndsvisning innlasting
Tillatelse gitt for geolokalisering.
Påloggingsøkten din er utløpt og du har blitt logget ut. Logg på igjen.