How to test CORS in REST Assured

369 views
Skip to first unread message

Harsha Godage

unread,
Mar 27, 2018, 3:53:02 AM3/27/18
to REST assured
Any one know how to test CORS :)

Todd Bradley

unread,
Mar 27, 2018, 11:27:03 AM3/27/18
to rest-a...@googlegroups.com
I know how to test CORS support in my web service, but that won't help you understand how to test CORS support in YOUR web service.

In general, you'll need to test the behaviors of all the Access-Control-* headers and the Origin header:

You can set any of those headers in an HTTP request using REST-assured.


Todd.


On Tue, Mar 27, 2018 at 1:13 AM, Harsha Godage <kghk...@gmail.com> wrote:
Any one know how to test CORS :)

--
You received this message because you are subscribed to the Google Groups "REST assured" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rest-assured+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages