I am using the HTTP.call to make Restful API calls to a third party service provider.
I created relevant Meteor Methods at the server side and call them from the client.
I have no problem for the GET calls. However for POST and PUT calls, it returns Internal server error (500) at client and a 405 Method not allowed at server.
When I tried debugging it, I opened Meteor Shell and calling the POST and PUT calls there, they work. But they don’t when I call the methods from client.
What’s causing this behaviour and how to fix it?