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

    Leave a comment:


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

    Leave a comment:


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

    Leave a comment:


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

    Leave a comment:


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

    Leave a comment:


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

    Leave a comment:


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

    Leave a comment:


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

    Leave a comment:


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

    Leave a comment:


  • replied
    ufna
    Thank you very much
    Now works perfectly

    Leave a comment:


  • replied
    Hi,

    you should do it this way:

    Leave a comment:


  • replied

    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:	321
Size:	547.2 KB
ID:	1732465

    Leave a comment:


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

    Leave a comment:


  • replied
    Hi everyone:

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

    Thank you

    Leave a comment:


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

    Leave a comment:

Working...
X