Some tips on how to debug this. Run both apps locally and make sure they are on different ports otherwise you get port errors. Then set a breakpoint in the app that is sending the request to the other app. Also set a breakpoint in the app receiving the call. Make sure that your log node for the REST call is set to trace so you can inspect in your console the traffic. Do also check if there are event handlers on the receiving end. So when stepping through on the receiving end do step through to the very end because it might be that an after commit handler or something like that is the problem. Then check your local postgres database if indeed that new record is in the local postgres database. Because if it is in the database but you are not seeing it in your front end then you know that security is the problem.
Hope this helps a bit. Regards,
Ronald
Hi Ronald
Thanks for your response.
the event handlers were also checked.
I can already debug both of the apps locallly.
And I can send the object to the other app, my problem is during the retrieve action.
Read method is via (read from database)
It is also in the database.