Hi guys,
In my REST App all requests run through a Security interceptor to authenticate/authorize the user and request. In addition I’ve added method security in my handler via:
this.allowedMethods = {getThis=‘GET’,createThis=‘POST’,createThisToo=‘POST’,removeThis=‘DELETE’};
After createThis is executed, I then want to setNextEvent to createThisToo. Since I’m executing a new event, I’m assuming the interceptor will run again as well as the check for the method security. Is this a correct assumption? If this is the case, is there a way I can persist the header information of the REST request as well as ensure that the proper verb (in this case POST) is maintained?
I haven’t actually tried this yet. just thought I would throw the question out to the group prior to writing.
Thanks.
Nolan