Extract Value from Database and return in the HTTP Response Header

What steps would I use to extract a value from a database and then return that value in the HTTP response header? In my example, I would get a value for "group": select group from groups; Then I want to return an HTTP header: X-Group:

Thanks,

JT

Comments

  • williammccuskerwilliammccusker Posts: 240 ✭✭

    Hi,

    I would try to use the db tool to execute the query then chain a data bank to it to place the desired value into a column and finally use that data bank column for the value of the response header.

Sign In or Register to comment.