Find Jobs
Hire Freelancers

Canot Post Form | Angular.js | Error 404

$140-450 MXN

Cancelled
Posted about 7 years ago

$140-450 MXN

Paid on delivery
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!
Project ID: 12827271

About the project

5 proposals
Remote project
Active 7 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
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 in 1 day
4.9 (836 reviews)
8.9
8.9
5 freelancers are bidding on average $399 MXN for this job
User Avatar
A proposal has not yet been provided
$345 MXN in 2 days
4.8 (38 reviews)
4.9
4.9
User Avatar
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 in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of MEXICO
Querétaro, Mexico
5.0
13
Payment method verified
Member since Aug 5, 2015

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.