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

    Hello everyone, where did the VaRestRequestJSON function go?

    Comment


      Originally posted by MrRangerYT View Post
      Hello everyone, where did the VaRestRequestJSON function go?
      Everything is now parented/referenced to VaRestSubsystem. You can construct request from it or call make a call directly without any request object.

      Comment


        Hello
        i want to send {"Username":"user1","Pass":"123456789"} to php but i don't know how to do it?

        Comment


          Originally posted by drpsyko View Post

          Everything is now parented/referenced to VaRestSubsystem. You can construct request from it or call make a call directly without any request object.
          No idea what that is.... Can you explain how to replace this node? Same issue as MrRangerYT here moving from 4.23 to 4.24

          Comment


            Hello,
            Can't find any ways to send a list of JSONs with one request.
            The server gets only JSON list, also if you send one event, like [{"connection_type": "wifi", "session_num": 1}]. But sometimes I realy need to send list of JSON.
            I was trying to hack it with LoadJsonFromFile, but editor is crashing if file contains list of JSON (i think also if starts with "[").

            Is there any way to send a json list?
            Maybe i can hardcode append/format JSON (to add "[" and "]") before send request or something else? (as temporal solution of course)
            Or maybe just set whole JSON as string.

            ue 4.23, marketplace plugin version
            Last edited by ivon_k_u; 03-05-2020, 10:36 AM.

            Comment


              One more question, functions "EncodeJson", "EncodeJsonToSingleString" , "WriteToFilePath" returns JSON without spaces, but "ProcessURL" (and similar to it) send formatted data with spaces. I need to calc hash from JSON for Authorization header and it becomes impossible. Because "get json" and "send request" operating with different strings, without spaces and with spaces respectively.
              I hope I explained it quite understandably, sorry for my English.

              Comment


                Originally posted by UE4love View Post
                Hello
                i want to send {"Username":"user1","Pass":"123456789"} to php but i don't know how to do it?
                Code:
                your.website/your.php?Username=user1&Pass=123456789

                Comment


                  Hi everyone:

                  Is it possible to convert JSON request object into a structure directly

                  Thank you

                  Comment


                    Originally posted by Stkopp View Post

                    Code:
                    your.website/your.php?Username=user1&Pass=123456789
                    actually that is a very unsafe method of sending a password.

                    create a json object, and set the username and password string fields into the object, and it will send it as a json post. and in php get the values with

                    Code:
                    json_decode(file_get_contents('php://input'), true);
                    make sure the url is https and not http

                    Comment



                      Hi everyone. Can somebody help me. What is wrong with this code? I can't transfer the body json to request. Error 404

                      Click image for larger version

Name:	Put-problem.jpg
Views:	361
Size:	547.2 KB
ID:	1732465

                      Comment


                        Hi,

                        you should do it this way:

                        Making games with Unreal Engine https://alyamkin.com

                        Comment


                          ufna
                          Thank you very much
                          Now works perfectly

                          Comment


                            Hi, since VaRest is setup as a subsystem, it appears I can't use it in editor (design time). I was building a tool that required some http/json handling during design time.

                            LogScript: Warning: Accessed None trying to read property CallFunc_GetGameInstanceSubsystem_ReturnValue

                            I am guessing there is nothing I can do at this point with VaRest? Any help appreciated, thanks.

                            Comment


                              Originally posted by j.dub View Post
                              Hi, since VaRest is setup as a subsystem, it appears I can't use it in editor (design time). I was building a tool that required some http/json handling during design time.

                              LogScript: Warning: Accessed None trying to read property CallFunc_GetGameInstanceSubsystem_ReturnValue

                              I am guessing there is nothing I can do at this point with VaRest? Any help appreciated, thanks.
                              Hi,

                              Yes for now, I've created https://github.com/ufna/VaRest/issues/287 and I'll check what I can do with it.
                              Making games with Unreal Engine https://alyamkin.com

                              Comment


                                Hi im trying to pull data From my site with this plugin like i did before but i cant get it to pull info can i get sum help anyone know how to do it with this new update?
                                Attached Files

                                Comment

                                Working...
                                X