JSFiddle - React, Tailwind, and code Playground

by Gonzalo

JavaScript

data = {
          "name": "Gonzalo",
          "email": "[email protected]",
          "github": "github.com/gonzalo0917",
          "resume": "gonzalojpv.com/CVGonzaloJPV.pdf",
          "linkedin": "linkedin.com/in/gonzalojpv",
          "city": "Aguascalientes, Mexico",
          "other": {
              "twitter": "@gonzalojpv",
              "employer": "Softtek",
              "blog":"http://gonzalojpv.wordpress.com/",
              "message": "Hola chicos de Platanus espero puedan darme la oportinudad de mostrar mis skills, Regards!"
          }
        }

$.ajax({
    type: 'POST',
    url:  "http://platan.us/jobs/apply",
    data: JSON.stringify(data),
    contentType: "application/json; charset=utf-8",
    dataType:"json",
    crossDomain: true,
    success: function(val) {
        console.log(e);
        alert("success"+val);
    },
    error: function(e) {
        console.log(e)
        alert("Failure"+ JSON.stringify(e));
        
    }
 });