Posting JSON with JQuery

后端 未结 2 1193
走了就别回头了
走了就别回头了 2021-01-01 05:10

Trying to get JQuery to post JSON to a server:

$.ajax({  
  url: \"/path/to/url\",  
  type: \"POST\",  
  dataType: \"json\",  
  contentType: \"json\",  
          


        
2条回答
提交回复
热议问题