×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
We may have had a misunderstanding here somewhere, but in the original example you posted you didn't have the / between the email and case number:
"URI path template for method: /{email}{casenbr ^[0-9]+$}"
This was what Nadir was pointing out; that you had no delimiter between the mail and the case number. However, your config below should also be ok (maybe there's something wrong with the casenbr regex), you do not have to mention the words "mail" or "casenbr" in the URL, they have nothing whatsoever to do with the names of the parameters themselves, I put them in because that's would be typically what a URL would look like. You could equally well have:
Which is the best way depends entirely on your use-case (although I'd avoid using dog and cat 😊 ) and the hierarchical relationship (or not) between a case and an email, so if the case number naturally belongs under the email then the first method makes most sense I think as it is self-evident to anyone looking at it what the path parameters are.
Tim.
As an Amazon Associate we earn from qualifying purchases.
This thread ...
Re: Using REST service created with IWS, (continued)
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.