Closed icarrara closed 3 years ago
I'm sorry for the kind of issue due from my ignorance.
In many examples I see the below personalization adds:
personalization.addHeader("X-Test", "test"); personalization.addHeader("X-Mock", "true");
Do I need to put it in every API calls? If no, what is their meaning?
Thank you in advance, Ivano
@icarrara No, you don't. The X-Test is just an example and X-Mock is a prism header where you can specify the desired return status code in the tests.
X-Test
X-Mock
I'm sorry for the kind of issue due from my ignorance.
In many examples I see the below personalization adds:
personalization.addHeader("X-Test", "test"); personalization.addHeader("X-Mock", "true");
Do I need to put it in every API calls? If no, what is their meaning?
Thank you in advance, Ivano