2021年5月4日星期二

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

https://stackoverflow.com/questions/67394700/save-json-response-automatically-to-database May 05, 2021 at 11:10AM

没有评论:

发表评论