Hi All,
A couple of questions about REST:
If I use an Accept-Language = "fr-CA" setting in the header, is the request submitted in French and is the response also in French?
Is there a WWWC Tool/Utility for looking at what gets sent to the server or do I need a tool like SOAPUI?
TIA,
Steve
Accept-Language
tells you what language(s) the client supports. So this means that you should send the response back using that language (if you support it). Obviously there's no requirement for that, but that's the intent.
If you need to look at HTTP requests use Fiddler. It's a proxy that intercepts requests and shows you the content.
For easier testing of REST Urls look at West Wind WebSurge or PostMan. The nice thing about WebSurge is that it doubles as a load tester and makes it easy to keep your tested URLs with your projects and source repositories.
+++ Rick ---