Can the functionality of "serviceCall" be modified? #7314
Answered
by
volkanceylan
Julian1993ARG
asked this question in
Help
-
Hello, could someone help me with an issue? I need to send a parameter in all requests. How can I configure the serviceCall method, which I understand Serenity uses, to include this parameter in the headers? |
Beta Was this translation helpful? Give feedback.
Answered by
volkanceylan
Jan 22, 2025
Replies: 1 comment 1 reply
-
You may override and intercept window.fetch. You could also override Serenity.serviceCall but that would not intercept all calls, e.g. ones made internally in corelib. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Julian1993ARG
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You may override and intercept window.fetch. You could also override Serenity.serviceCall but that would not intercept all calls, e.g. ones made internally in corelib.