Completed

Canot Post Form | Angular.js | Error 404

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 $[url removed, login to view] 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:

-------------------------------------------------------------------------------------------------------------

[url removed, login to view]('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 $[url removed, login to view] =... instead of this.var=... will result in calling directly {{[url removed, login to view]}}

* in HTML'angular instead of calling the controller specifically as {{[url removed, login to view]}}

*/

$[url removed, login to view] = {

result: 'Antes de enviar tu solicitud para el evento, verifica que la información sea correcta. '

};

[url removed, login to view] = function () {

var scope = [url removed, login to view]($('#razon_social')).scope();

[url removed, login to view]('Los datos son: ' + scope);

$[url removed, login to view]('/mailEvent', $[url removed, login to view]).success(function (data, status, headers, config) {

/*$[url removed, login to view] = 4;*/

[url removed, login to view]('Success: ' + data);

$[url removed, login to view] = 'El mensaje fue enviado satisfactoriamente. ¡Muchas gracias!'; // clear the form so our user is ready to enter another

// $[url removed, login to view]('ContactForm', { category: 'Contact', label: 'ContactForm' });

}).error(function (data, headers, status, config) {

var pathname = [url removed, login to view];

[url removed, login to view]('El error es el siguiente: ' + data);

[url removed, login to view]('El encabezado es: ' + headers);

[url removed, login to view]('El config es: ' + config);

[url removed, login to view]('El status es: ' + status);

[url removed, login to view]('El pathname es: ' + pathname);

//$[url removed, login to view] = 4;

$[url removed, login to view] = 'El mensaje no fue enviado, hemos detectado amenazas de seguridad.';

});

};

}]);

Server side JS:

-------------------------------------------------------------------------------------------------------------

[url removed, login to view]('/mailEvent', function (req, res) {

[url removed, login to view]('Pasamos al [url removed, login to view]');

var smtpTrans = [url removed, login to view](smtpTransport(SMTPoptions));

//Variables are body. : subject, text, name, mail, phone, ext, business, address

var mailOptions = {

from: '',

to: '',

//to: '',

replyTo: [url removed, login to view],

subject: [url removed, login to view],

text: [url removed, login to view],

//Use object : req.body.ng-model to be posted from angular,

html: ''

};

[url removed, login to view](mailOptions, function (err, responseStatus) {

[url removed, login to view](); // Don't forget to close the connection pool!

[url removed, login to view]('/mailEvent sendMail Called');

if (err)

[url removed, login to view](err);

[url removed, login to view]('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!

Skills: Angular.js, HTML5, node.js, PHP

See more: php post form display, free classifieds ads post form site duration 30days, curl post form value, node.js, paypal post form fields, visual basic post form data, xml post form php, display post form php, post form data php automatic, php referre post form, ajax asp post form net php, javascript onsubmit post form, automatic php post form submit, post form ajax php, post form vb6, post form flash

About the Employer:
( 13 reviews ) Querétaro, Mexico

Project ID: #12827271

Awarded to:

lumeihui210

Dear sir. I am an expert node.js for backend. I think to have server side( rest api ). Please send me server source. Thank you.

$375 MXN in 1 day
(1 Review)
1.0
contact2phpsl

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
(586 Reviews)
7.7

6 freelancers are bidding on average $395 for this job

VividusDesigns

A proposal has not yet been provided

$345 MXN in 2 days
(20 Reviews)
4.0
tomchoi

professional frontend and angular developer with lots of experience in js. L et me know and I can start debugging right away

$455 MXN in 3 days
(3 Reviews)
1.7
raajkumaar

• [login to view URL] (Software Engineering) with 10+ years of Working Experience in PHP Technology and Ruby on Rails. • Strong passion for IT, Web Development and understanding of trends. • Known for both open, friendly nature an More

$440 MXN in 1 day
(0 Reviews)
0.0
Mongrelseo

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 More

$470 MXN in 1 day
(0 Reviews)
0.0
$370 MXN in 1 day
(0 Reviews)
0.0
radiussoft2

Dear Client, Thanks for providing us opportunity to place bid over the project and communicate with [login to view URL] mainly deal in web development, SEO, Android App, software testing and graphic design. Our vision is to b More

$345 MXN in 6 days
(0 Reviews)
0.0
$345 MXN in 6 days
(0 Reviews)
0.0