(REST) Help, I do not understand why I.haveRequestHeaders does not work

I try to add fields to the header: I.haveRequestHeaders({auth: ‘1111111’});
, but the I.haveRequestHeaders method returns an error:


    1. test something:
      I.haveRequestHeaders is not a function

is it your custom function - I.haveRequestHeaders ?
As per the REST doc, it should be

Understood, but don’t know how to pass an external variable to the executeScript method?

@avishek @Tetris Do you have any idea on how can we send request headers for GraphQL api through I.sendMutation() or I.sendQuery() methods?