$.ajax({ url: "/api/login check", type: ’POST’, data: { firstName: $(’[name=firstName]’).val(), lastName: $(’[name=lastName]’).val(), email: $(’[name=email]’).val(), accountToken: ’38e760732ee4f8166d81b1235e88386ffbbca2bc’, type: [’mpo’], country: ’ca’, language: ’fr’, variant: ’1,1’, autoGen: 0, requestedBy: ’info@alexandrevezina.com’, requestedByName: ’Alexandre V´ezina’, subAccount: 0, recordType: ’candidate’, }, success: function (resp) { // use "resp" to redirect user on the MPO test (see below for definition of "resp") } }