I never used this system() command

Can you get the curl/php response from it directly in gsc?

Or you use sql for that?