1

How can I use bootstrap-table to get data from webapi (need [Authorize])

pic1

Error:

pic2

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
Blackmanba
  • 21
  • 3
  • Try adding the `ajaxOptions` property to your `bootstrapTable` call. `ajaxOptions: {username:"yourusername",password:"yourpassword"}` For reference see http://bootstrap-table.wenzhixin.net.cn/documentation/ and http://api.jquery.com/jQuery.ajax/ and http://stackoverflow.com/a/11960692/1487413 ... please let us know if it works! – Martin Burch Feb 18 '17 at 20:11

0 Answers0