Author Topic: Authorization Header in remote paging Paramquery Pro  (Read 1250 times)

atmaneuler

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 33
    • View Profile
Authorization Header in remote paging Paramquery Pro
« on: November 11, 2020, 03:41:04 pm »
In Paramquery Pro version 7.x, I use grid to get data api with local paging, has Authorization Header normally.
When I changed into remote paging, Authorization Header disappeared.
If I want to show it in Headers, what should I do?
Hope to receive your feedback soon. Thank you.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Authorization Header in remote paging Paramquery Pro
« Reply #1 on: November 12, 2020, 06:10:51 am »
Custom headers can be added to the request in dataModel.beforeSend callback.

https://paramquery.com/pro/api#option-dataModel-beforeSend