Is your feature request related to a problem?
As part of #64, OS #4282 established a basic way of forwarding REST requests to extensions, passing the HTTP method and uri fields.
To expand functionality, the params() of the RestRequest should also be forwarded. This will be necessary for handling additional types of requests.
What solution would you like?
Update the RestExecuteOnExtensionRequest class to include params(). Update associated code in the RestSendToExtensionAction, ExtensionsRunner, ExtensionRestHandler interface, and the sample extension's RestHelloAction.
What alternatives have you considered?
Sending the entire RestRequest rather than extracting parts of it. This doesn't work from a security perspective as sensitive information can be included in headers, and these are not easily removed.
Do you have any additional context?
See first comment at #109.
Is your feature request related to a problem?
As part of #64, OS #4282 established a basic way of forwarding REST requests to extensions, passing the HTTP method and uri fields.
To expand functionality, the
params()of theRestRequestshould also be forwarded. This will be necessary for handling additional types of requests.What solution would you like?
Update the
RestExecuteOnExtensionRequestclass to includeparams(). Update associated code in theRestSendToExtensionAction,ExtensionsRunner,ExtensionRestHandlerinterface, and the sample extension'sRestHelloAction.What alternatives have you considered?
Sending the entire
RestRequestrather than extracting parts of it. This doesn't work from a security perspective as sensitive information can be included in headers, and these are not easily removed.Do you have any additional context?
See first comment at #109.