How can I access the
You can access the processed options that you passed into $.ajax from within the success callback using
this, as long as you didn't bind the function, use an arrow function, or use the context option.
console.log(this.data); // for POST console.log(this.url); // for GET, but you'll have to parse out the url portion
I would just use a variable.