Unable to POST when using TeamRawService
I have created a service which extends TeamRawService.
The implementation has 2 functions: perform_POST and perform_GET However, the POST function never gets invoked. Even if I submit using a POST method from my browser, the request is redirected to the get method. For reference here is the request header from the browser:
Post method type seems to work fine when I am using ITeamModelledRestService. Would really appreciate help in this issue. Thanks - Vibha |
4 answers
Is it possible for you to post the class or at least a skeleton of it to
the forum? Are you sure that the perform_POST method was properly overriden? Putting a @Overrides annotation will generate a warning if it isn't. vssinha wrote: I have created a service which extends TeamRawService. |
Hello Lavin,
Here are the snippets of the code
|
I wrote the same type of service less than a week ago, and the incoming
requests were properly dispatched to the perform_POST method. Would it be possible to open a bug and include a small plugin example for the problem? Perhaps there is something else about your plugin setup that is causing the problem. If you open a bug, can you subscribe me so I can look into it? vssinha wrote: Hello Lavin, |
Hello Lavin,
I have opened a bug on this - 59261 and have posted my code there. However, I was not able to assign it to you as did not have the requisite permissions. Thanks - Vibha |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.