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

  • replied
    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.

    Leave a comment:


  • replied
    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.

    Leave a comment:


  • replied
    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

    Leave a comment:


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

    Leave a comment:


  • replied
    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.

    Leave a comment:


  • replied
    Hello everyone, where did the VaRestRequestJSON function go?

    Leave a comment:


  • replied
    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!

    Leave a comment:


  • replied
    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

    Leave a comment:


  • replied
    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!

    Leave a comment:


  • replied
    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.

    Leave a comment:


  • replied
    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.

    Leave a comment:


  • replied
    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?

    Leave a comment:


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

    Leave a comment:


  • replied
    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.

    Leave a comment:


  • replied
    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

    Leave a comment:

Working...
X