[help] how to test cors rule ? #123
Answered
by
gavv
huyinghuan
asked this question in
Q&A
-
i test online example:
now i want to test my cors rule, just like invoke api "https://api.mydomain.com/api/info" in "https://www.mydomain.com" domain how can i write the test unit? Thanks for your help. |
Beta Was this translation helpful? Give feedback.
Answered by
gavv
May 22, 2022
Replies: 1 comment
-
Hi! If you're asking how to change domain for specific request, take a look at this example: https://github.com/gavv/httpexpect#subdomains-and-per-request-url |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
gavv
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! If you're asking how to change domain for specific request, take a look at this example: https://github.com/gavv/httpexpect#subdomains-and-per-request-url