Skip to content

Instantly share code, notes, and snippets.

@adoprog
Created March 27, 2021 02:06
Show Gist options
  • Save adoprog/a9e7cc59c063cfc526160ecfa4fbdd0e to your computer and use it in GitHub Desktop.
Save adoprog/a9e7cc59c063cfc526160ecfa4fbdd0e to your computer and use it in GitHub Desktop.
$.ajax({
url:"https://api.jsonstorage.net/v1/json",
type:"POST",
data:'{"key":"value"}',
contentType:"application/json; charset=utf-8",
dataType:"json",
success: function(data, textStatus, jqXHR){
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment