Access the URL of an jQuery Ajax Request in the Callback Function

前端 未结 6 1840
暖寄归人
暖寄归人 2020-12-08 18:20

Is there a way that I can see the URL that was requested when I do an Ajax request with jQuery?

e.g.,

var some_data_object = { ...all sorts of junk..         


        
6条回答
  •  离开以前
    2020-12-08 19:09

    Set a break point in success method, then watch

    this.url
    

    is the real url for the request.

提交回复
热议问题