Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JavaScript POST request with jQuery Ajax

$.ajax({
  type: "POST",
  url: "https://reqbin.com/echo/post/json",
  data: `{
    "Id": 78912,
    "Customer": "Jason Sweet",
  }`,
  success: function (result) {
     console.log(result);
  },
  dataType: "json"
});
Source by reqbin.com #
 
PREVIOUS NEXT
Tagged: #JavaScript #POST #request #jQuery #Ajax
ADD COMMENT
Topic
Name
8+6 =