So I have one API gateway endpoint which has POST method enabled on it which talks directly to Dynamo dB database. The api is working correctly as I am able to push data to the database in the body of the request and in turn I get "{}" as the response, the newly pushed data is also present in the database. I have been doing these tests using postman. But now when we embedded this api endpoint into the code it is not pushing the same data to the database, but I'm still getting a "{}" response but there is no new items in the db. But again when I push the same payload through the postman it works. There is no access-control enabled on the endpoint yet. Any clues of what might be causing this?