Guest User

Untitled

a guest
Jul 18th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. $('#idBoton').click( function(){
  2.  
  3. fetch('http://181.61.221.52:8119/operative/simplecreateticket/', {
  4. method: "POST",
  5. headers: {
  6. "Content-Type": "application/json",
  7. },
  8. body: JSON.stringify({"auth_key": "ffa07465e5af0a0f69d776e3a288dea1",
  9. order_ent: $( "entity_number").val(),
  10. order_cedula: $("contact_identification").val(),
  11. order_name: $( "contact_name").val(),
  12. order_mail: $("contact_email").val(),
  13. order_phone: $("contact_phone").val(),
  14. order_fax: $("contact_fax").val(),
  15. order_dir: $("contact_address").val(),
  16. order_city: $("city_name").val(),
  17. order_cargo: $( "contact_position_name").val(),
  18. order_description: $("description" ).val() })
  19. })
Add Comment
Please, Sign In to add comment