Save JSON response automatically to database

I'm a little newbie here in web programming I'm working with php script that hit url then i got json response automatically

{
    "status":true,
    "message":"successfully sent text",
    "data": {
        "quota":"unlimited",
        "message":[{    
            "id":"STE3F7DLrt0Q79qC602JZVAr3z7Ksg9o",
            "phone":"62818507361",
            "text":"Testing",
            "status":"pending"
        }]
    }
}

How do I save this response automatically to my database

I found similar use case here Save JSON response and here How to save JSON response data automatically when the response hits the URL?

but I still don't understand how to implement javascript

btw my database is oracle and I use OCI8 function in my php script



Read more here: https://stackoverflow.com/questions/67394700/save-json-response-automatically-to-database

Content Attribution

This content was originally published by Reza at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: