Tag: cmd

  • shell_exec curl to GraphQL API – Bad Request

    shell_exec curl to GraphQL API – Bad Request

    0 I’m trying play with a website’s GraphQL API (https://www.xxxlutz.hu/api/graphql) to scrape data. In Altair working fine, but I need to run in PHP with curl_impersonate to bypass Cloudflare. I tried this, and working fine: $d = ‘{"query":"query {navigation(codes: ["header_nav_root"], levelAmount:2 , levelOffset:0){data}}"}’; $curl_impersonate_exec_command = ‘/usr/local/bin/curl_chrome100 -g -L "’ . $url . ‘" -X POST…