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

    When I toggle the Verify Peer setting in the Project Settings, I get "LogInit: Warning: CVar named 'n.VerifyPeer' marked up in NetworkSettings was not found or is set to read-only", and the setting has no effect. I tried going the C++ way but I can't figure out which header to include to get FCurlHttpRequest. I can't find it in the UE4 API documentation either. Halp!

    Comment


      Just updated to the latest release, suddenly "Set object array field" doesn't seem to work anymore on request object, did anything change regarding this? It doesn't generate any errors but doesn't seem to actually append the objects anymore. Set integer field for example still seems to work

      Edit: Nvm, seems to work again if I put content type to json. Nefore this update it only worked if I had it on form encoded
      Last edited by douw3rd; 04-03-2020, 04:04 PM.

      Comment


        Originally posted by douw3rd View Post
        Just updated to the latest release, suddenly "Set object array field" doesn't seem to work anymore on request object, did anything change regarding this? It doesn't generate any errors but doesn't seem to actually append the objects anymore. Set integer field for example still seems to work

        Edit: Nvm, seems to work again if I put content type to json. Nefore this update it only worked if I had it on form encoded
        hi, i have the same issue after the latest update today, and i just remove the node and added again and now i can compile but is not working anymore, I am using the content type x-www-form-urlencoded and is not working, i tried using json too but no luck either.
        Anyone can help with this?

        Thanks!

        Comment


          Originally posted by elmauro81 View Post

          hi, i have the same issue after the latest update today, and i just remove the node and added again and now i can compile but is not working anymore, I am using the content type x-www-form-urlencoded and is not working, i tried using json too but no luck either.
          Anyone can help with this?

          Thanks!
          Please provide usage example, I need a case to reproduce.
          Making games with Unreal Engine https://alyamkin.com

          Comment


            Originally posted by ufna View Post

            Please provide usage example, I need a case to reproduce.
            In a previous update i had an error in the construct json object and i had to create a Va Rest Subsystem node and connect to the target, but with this new update all the Va Rest Subsystem nodes have error and the nodes connected to it have error too, like a construct json object, construct json request, etc
            If i create a new Va Rest Subsystem node and i link to the construct json then the error compiling go away and i can compile, but then just dont work, i mean dont connect to the api as it was doing before the update.

            edit: i am using the node construct json request and using the format x-www-form-urlencoded (url) and i checked and i am receiving error 405 in the response statuscode

            Thanks!
            Last edited by elmauro81; 04-08-2020, 08:23 PM. Reason: i did additional testing and have new info on the response

            Comment


              Originally posted by elmauro81 View Post
              In a previous update i had an error in the construct json object and i had to create a Va Rest Subsystem node and connect to the target, but with this new update all the Va Rest Subsystem nodes have error and the nodes connected to it have error too, like a construct json object, construct json request, etc
              If i create a new Va Rest Subsystem node and i link to the construct json then the error compiling go away and i can compile, but then just dont work, i mean dont connect to the api as it was doing before the update.
              Yes, subsystem was changed, unfortunately the engine can't recomplite it itself, so "Get VaRest Subsystem" node just have to be re-created.


              Originally posted by elmauro81 View Post
              edit: i am using the node construct json request and using the format x-www-form-urlencoded (url) and i checked and i am receiving error 405 in the response statuscode
              405 means wrong request verb. Check you're using right (POST/GET/etc) one.
              Making games with Unreal Engine https://alyamkin.com

              Comment


                Originally posted by ufna View Post

                Yes, subsystem was changed, unfortunately the engine can't recomplite it itself, so "Get VaRest Subsystem" node just have to be re-created.




                405 means wrong request verb. Check you're using right (POST/GET/etc) one.
                Hi, i was doing more tests and originally i was using x-www-form-urlencoded (url) and was working but doing more tests with the latest update i changed to Json format and is workinng now!!

                and yeah, i replaced the Get VaRest Subsystem node and that fixed the compiling issue.

                Thanks for your quick answer! and thanks for this amazing plugin!

                Mauricio

                Comment


                  Originally posted by elmauro81 View Post

                  Hi, i was doing more tests and originally i was using x-www-form-urlencoded (url) and was working but doing more tests with the latest update i changed to Json format and is workinng now!!

                  and yeah, i replaced the Get VaRest Subsystem node and that fixed the compiling issue.

                  Thanks for your quick answer! and thanks for this amazing plugin!

                  Mauricio
                  You're welcome!
                  Making games with Unreal Engine https://alyamkin.com

                  Comment


                    I have been trying for a few Hours now to use this Plugin from within cpp. But this is often changed and badly documented by Epic so i had no luck yet.

                    i edited my *.Target.cs to include " ExtraModuleNames.AddRange(new string[] { "VaRest" }); "
                    when trying to access the subsystem with " UVaRestSubsystem vaRest; " VS recognized the missing include and suggests to add "#include <VaRest/Public/VaRestSubsystem.h>"
                    this works in the editor but at compile throws error that the file can't be found, i tried many variations of the include (<>or "", direclty incldue the .h, add Runtime/ to the start ...) to no avail

                    at this point i am stuck and to keep my quesiton short: how to include this Plugin to be used from cpp in UE4.24 ?

                    Comment


                      Originally posted by nobody0 View Post
                      I have been trying for a few Hours now to use this Plugin from within cpp. But this is often changed and badly documented by Epic so i had no luck yet.

                      i edited my *.Target.cs to include " ExtraModuleNames.AddRange(new string[] { "VaRest" }); "
                      when trying to access the subsystem with " UVaRestSubsystem vaRest; " VS recognized the missing include and suggests to add "#include <VaRest/Public/VaRestSubsystem.h>"
                      this works in the editor but at compile throws error that the file can't be found, i tried many variations of the include (<>or "", direclty incldue the .h, add Runtime/ to the start ...) to no avail

                      at this point i am stuck and to keep my quesiton short: how to include this Plugin to be used from cpp in UE4.24 ?
                      It's not an Extra module, you should do it like this:
                      Code:
                      PrivateDependencyModuleNames.AddRange(new string[] {"VaRest" });
                      Then you can include plugin headers:

                      Code:
                      #include "VaRestJsonObject.h"
                      #include "VaRestRequestJSON.h"
                      #include "VaRestSubsystem.h"
                      etc.
                      Making games with Unreal Engine https://alyamkin.com

                      Comment


                        *edited, old post got irrelevant*

                        Thanks for your pointer in the right direction, helped a lot in finding the Problem

                        in the end i was editing the Target.cs files, but had to edit the Build.cs file
                        Last edited by nobody0; 04-16-2020, 08:14 AM.

                        Comment


                          The links provided in the OP does not go to usage examples, nor does it have any documentation on how to use it. Does anyone have any links to how to use this with example blueprints? The few youtube examples are from old versions which isn't the same

                          Edit: It turns out you can set the target to the node as VA Rest Subsystem. So it kind of works now but no documentation yet >.<
                          Last edited by hedgie17; 04-16-2020, 01:25 PM.

                          Comment


                            ufna VaRest is a life saviour! Thank you. Please update to 4.25.0 and let me know where can I donate

                            Comment


                              Hey, this plugin is amazing,

                              when I use the GitHub repository for 24.25 it tries to rebuild the modules (VaRest and VaRestEditor), however, it crashes and displays a message saying that my project can not be compiled. have someone have any luck using varest for UE4.25?


                              PD: do you know if it's going to be soon at the market place for 4.25?

                              Comment


                                Hi,
                                Thank for 4.25 update !!! you're the best !

                                "Get Response Object" seem to not work on 4.24 & 4.25?
                                Can you confirm ufna ?

                                I have same problem "By HevoYTB-FR on April 20, 2020 9:08 PM on marketplace"
                                I don't know how to recover the True because there is no longer the Get Response Object
                                https://zupimages.net/viewer.php?id=20/17/xh6m.png
                                For the moment my only solution is to "get response content as string + construct my json object and decode json.
                                Last edited by martoof; 05-10-2020, 01:43 PM.

                                Comment

                                Working...
                                X