With this you can post some value to your php, after make your php search inside your SQL database and finally read the answer inside BP to do whatever you want :p.
Using blueprints only, there is no possibilities, you have to code it in C++ (I made it as an actor component) or you have to use VaRest, and the install guide is in its wiki page.
You need to use «Construct Json Object», You will need one for the entire field and the desire number for the value you need to send. After you get your node, promote it to a variable.
Now you need to set those variable and build an array.
Next step is to set your request. You will need to choose «Construct Json Request» and use POST as Verb and Json as Content Type, after this promote the return value to a new variable call Request. Now you need the following nodes=> Set Request Object and Get Response Object. Take the output of the Request Variable to the Target of the 2 node above and bring the «ParentJson = first variable» value to the Json Object of «Set Request Object».
We are close to the end! Now you need to create a Bind event to OnRequestComplete and OnRequestFail, You’ll also need a Process URL with the link of Your script (I use localhost in this exemple, but you could stock the IP in a variable and reuse it). Take the output of Request and bring it to all the subsequent Target. I also add you the way to see if you have an incoherent value inside your request or a bug inside your PHP.
Now you can «Get string Field» and use the good field name to get the desire value.
(Image in comment)
Last thing you need to know is inside your PHP you need this =>
<?php
$json = json_decode(file_get_contents('php://input')); //allow you to get all content
$value_1 = $json->data[0]->Object1; // get the object in question (table start to 0)
$value_2 = $json->data[1]->Object2;
echo json_encode(array('YourValue1'=>$value_1, 'YourValue2'=>$value_2)); //don't forget to re-encode the array
?>
MetaData mismatch. Did you assign a stat to two groups? New //STATGROUP_Threads//FLauncherTask///Thread_4504_0///####STATCAT_Advanced#### old //STATGROUP_Threads//FLauncherTask///Thread_21e0_0///####STATCAT_Advanced####
I’m not the good person for this kind of error, if I understand well you try to compile the plugins with the editor? Maybe you can try to simply add it externally. The only thing I can recommend for your error is to make sure you take compatible branch for the editor and plugins. sorry I cannot help you more than this.