Closed baristabak closed 6 years ago
At first glance your code examples look right. Nothing obviously wrong.
I suggest you run up an intermediate HTTP Proxy so you can see the HTTP requests and responses. If you use Eclipse/STS, try using the TCP/IP Monitor (Window -> Show View -> Debug
). Don't forget to Click Start
once you've configured it (I always do!). Netbeans and IntelliJ have something similar - see here: http://stackoverflow.com/questions/6941430/is-there-any-http-monitor-for-intellij-idea-gui-like-the-one-in-netbeans.
Hi Paul, I applied your demo and it worked great but I am getting 405 METHOD_NOT_ALLOWED exception when I am trying to send a POST request. I changed the code like below:
In WebAccountsController class:
FROM
TO
In WebAccountsService class:
FROM
TO
and in accountSearch.html file:
FROM
TO
What else should I change? Could you please help me?