Send data request by php to flask API Send data request by php to flask API flask flask

Send data request by php to flask API


$req = $http({method: 'get',url: "https://**.pythonanywhere.com/123",params: {mytext: "test"});

now the mytext became string, you were not passing it as a string.