Announcement

Collapse
No announcement yet.

[Plugin] Http/s REST, blueprintable JSON and Parse REST API manager at once (VaRest)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    please can someone help me with the binaries files for VaRest plugin

    Comment


      Hi, great plugin... i see early on in this thread you added support for nested json - can you tell me/point me at how to access the nested data? For eg: get the ID below...
      Code:
      {
          "user": {
              "data": {
                  "ID": "1"
                   }
            }
      }
      I want to get user.data.ID

      Thanks!
      Ant

      Comment


        Everytime I Write to file path is just write one line and that it. So I was wondering how to wtite full Json file to path. Please let me know, thinks.

        Comment


          Solid Question. Is there a way to use this to handle downloading files and setting them to a specific location on user machine? Trying to create a updating system using php and my webhost. so far ive gotten it to compare users version with posted version on my server and if returns that update is available it will open url in browser and download the update. but that leaves it to the user having to unzip and put the file directly into the content/paks directory. is there a way to bypass having to open the url externally and just download it to the projects directory?

          Comment


            how com call url node does not appear in the utilities?

            Comment


              Hi everyone.

              A couple of years I made a project using VaRest plugin for getting and posting to a server database following a youtube tutorial and worked great but now I'm reusing the same logic and code for something else but I cannot find a way to get the response content from server since the node is deprecated, I always get an empty array. I already tried to getting the Response Object and encode it with no luck. I'm sharing an image of my blueprints and the code I'm using with php for getting data from server for better understanding.

              Can anyone point me in the right direction please. Should I use a different node approach or something else in the php code or both?.

              Thank you very much.
              Have a great day.
              Attached Files

              Comment


                Originally posted by Carlos Flores View Post
                Hi everyone.

                A couple of years I made a project using VaRest plugin for getting and posting to a server database following a youtube tutorial and worked great but now I'm reusing the same logic and code for something else but I cannot find a way to get the response content from server since the node is deprecated, I always get an empty array. I already tried to getting the Response Object and encode it with no luck. I'm sharing an image of my blueprints and the code I'm using with php for getting data from server for better understanding.

                Can anyone point me in the right direction please. Should I use a different node approach or something else in the php code or both?.

                Thank you very much.
                Have a great day.
                I have figure it out how to make it work. I had to encode to json on the server side every time I needed to send a value to Unreal and then in blueprints Get Response Object -> Get String Field named in server side as I show in the pictures attached.

                Hope this information is helpful for someone.

                Thanks anyway.
                Attached Files

                Comment


                  Hi again.

                  I run into another issue trying to make something really easy but I can't seem to find why it's not working since this was already working.

                  What I'm trying to do is simply pass a value from Unreal to the server through a PHP file but the values "NumEmpleado" and "Contrasena" always appear empty. Is there something am I doing wrong?

                  I'll be glad if someone could help. Images are attached for blueprints and php file on server.

                  Thank you very much.



                  EDIT | SOLVED: I got it to work by changing it to a POST request and connecting the Get Request Object to the Request Object. (Last image attached)
                  Attached Files
                  Last edited by Carlos Flores; 01-26-2020, 09:13 PM.

                  Comment


                    New update is corrupting files and cant save, is anyone getting this?

                    Comment


                      I am also experiencing a weird isue when creating the graph bellow. If you just try to compile it, the editor will crash. The problem seems to happen when you add a "make json" node connected to the rest of the graph.
                      I tested this with the last release of the plugin (v1.1-r28) from the marketplace and also with the 4.24 branch from the varest repository.
                      Is there any alternative option to add json objets to the body of the request?

                      Comment


                        Originally posted by raliar View Post
                        I am also experiencing a weird isue when creating the graph bellow. If you just try to compile it, the editor will crash. The problem seems to happen when you add a "make json" node connected to the rest of the graph.
                        I tested this with the last release of the plugin (v1.1-r28) from the marketplace and also with the 4.24 branch from the varest repository.
                        Is there any alternative option to add json objets to the body of the request?
                        Fixed in develop right now, thanks for bug report.
                        Making games with Unreal Engine https://alyamkin.com

                        Comment


                          Originally posted by ufna View Post

                          Fixed in develop right now, thanks for bug report.
                          Wow! That was fast. I've just tested the fix and it's working. Thank you so much for the quick fix.

                          Comment


                            Hello! I noticed the wiki page for the install instructions / examples seems to be broken at the atlassian site. Very excited to get started using this, but I'm using the ARK Editor and no idea how to get these function into my Blueprint graph. Thanks!

                            Comment


                              Originally posted by raliar View Post

                              Wow! That was fast. I've just tested the fix and it's working. Thank you so much for the quick fix.
                              You're welcome

                              Originally posted by DakotaIrsik View Post
                              Hello! I noticed the wiki page for the install instructions / examples seems to be broken at the atlassian site. Very excited to get started using this, but I'm using the ARK Editor and no idea how to get these function into my Blueprint graph. Thanks!
                              Atlassian wiki was outdated and removed. Where did you find the url to it? I'll try to replace it with new one: http://bit.ly/VaRest-Docs
                              Making games with Unreal Engine https://alyamkin.com

                              Comment


                                Instructions

                                Check the VaRest Wiki to know more about the plugin and get usage examples!

                                Unfortunately I wasn't able to use this plugin as I wasn't able to find out how to use it. but I was able to make my http call, whew. thanks!

                                Comment

                                Working...
                                X