To learn more about the event object, take a look at JS.88.560– make sure to click on the button in the upper left corner to display the navigation pane if it’s not shown automatically.
Please register to participate in our discussions with 2 million other members - it's free and quick!
Blog Id when is an integral part of the operation, needs to be explicitly part of the resource identifier - hence I would put it simply in URL.
If you do not, the problem here is the URL/URI does not really using System; using System.
The only thing left to do was validate the Blog Id.
It is a shame that we can't use validation attributes on Uri parameters otherwise @alexanderb's recommendation would have worked.
Instead I opted to use an Action Filter: I am afraid this is probably not the type of answer you are looking for but well it might add a humble bit to the discussion.
You see all that trouble you are going through to and jumping all the hoops since you need to infer the ? REST is all about stateless while you seem to holding a separate state (context) on the server which comes into clash with stateless nature of HTTP.
For numeric fields, there is a convenient way to validate a value range, but we want to select to run a custom validation script.Adobe provided a lot of infrastructure to do that with just a simple script.Let’s take a look at how to do that with a text field that is only supposed to have a value of either ‘AAAA’ or ‘BBBB’ (yes, I know that this does not make much sense in a real PDF form). Each user of the application may have a number of blogs hosted by the service. Our API allows for both reading and writing of blog posts.
You should always retain a copy of your tax return.