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
    EDIT2: I got a problem when I want tu use https request, when I connect to my website in Chrome with https://... it works but when I do this from the plugin I get stuck in Bind Event to OnRequestComplete, I use wireshark to see what happend:



    Event
    EDIT: It's ok I found the solution this plugin is reaaly impressive ^^ now I would like to know if I can use blueprint varest on a dedicated server or in C++ class ?

    Hello everyone, I found this plugin and look very amazing but I have a question for you. There is someone who already use this plugin with an authentification system based on JSON Web Tokens (from https://jwt.io/) ?

    I explain why, i'm currently using jhipster to generate a project based on springboot and the authentification system of JWT and I would like to know if someone already done this to explain me a way to explore. I sucess to send post/get request but I think it's more complex than this to use the JWT concept by write a header for exemple with a secret key.

    Any tips is good to have !

    Thank in advance.
    Last edited by amnedge; 10-04-2016, 10:41 PM.

    Leave a comment:


  • replied
    Assigning JSON GET response field values to blueprint variables

    After going through all the entries on this thread I've seen several people ask about parsing the response from a GET call back into variables, but don't see any clear answers. I do a GET on my server and receive a response back of the form

    {"ItemsMap":[{"ItemId":"TankBInput","AccessRight":"2","ItemType":"2"},{"ItemId":"FloatSwitch","AccessRight":"0","ItemType":"0"}]}

    I want to extract the value of ItemId from the first entry of the ItemsMap array. I can't figure out the proper collection of boxes to do so. Is there an example that illustrates this in Blueprint or C++? I figured I just needed to do a Get Response Object in response to an OnComplete event, set that to a Json Buffer, and then Get Object Array Field with ItemsMap as the field name, but can't figure out the proper function to extract the first item of the array to get to the ItemId field. The image show's what I've got in blueprint for the decomposition so far. I'm new to blueprint, so a lot of this blueprint programming is hit and miss.

    Can somebody explain how I'd complete this assignment? I also wonder if this wouldn't be easier in C++, but I don't see any examples of VaRest that are C++ based. Any pointers are appreciated.
    Attached Files

    Leave a comment:


  • replied
    Originally posted by SlyFly7 View Post
    Hi Patrick!

    Thanks for replying and giving a hand!

    Can you show an image of what you have before the get field functions?
    I would really like to know and see what is your way of processing the Json request and how are you exactly getting the response.
    Could I also ask about the precise formatting of your Json? Whether you have nested or simplified. etc.

    I would really appreciate it, I have been investigating for two weeks, scouting the interwebz but to no avail.

    I appreciate your time, I will be following your blog to see how you try to implement varest use with Wordpress !

    Thanks again!
    Lucas
    Unfortunately I don't have that version of that project anymore, I did a rebuild and haven't reconstructed the system just yet so I can't provide anything before that right now.
    As for the formatting of the JSON, it's just the default spit out by the wordpress API. It seemed to work fine.

    Leave a comment:


  • replied
    Hi folks, I really want to get this working.. does anyone have an idiots guide to getting something up and running? So far I've installed the plugin and created a player controller blueprint as in the image example.. Clearly there is more to do (apart from the URL) ... help? please?

    I should say, all I would like to do at this stage is get a height map from a server and create the geometry... how hard can it be... Ha! (irony)
    Last edited by Johnnyx; 09-06-2016, 08:21 AM.

    Leave a comment:


  • replied
    Does this plugin have any documentation? All I can find is 2-3 over-assuming and fragmented blueprint screenshots and a few lines on GitHub. And a link to a an old non-working UE4 project... Why release something like this to the community and not document it? It should come with a warning: Yes, please use my plugin, but you're better off writing your own plugin rather than spending hours and hours trying to solve a puzzle simply based on arbitrary naming of BP nodes, if you can find them that is... It's better to charge $10-$20 and actually document the plugin and properly support it.

    Leave a comment:


  • replied
    Oh, never mind! I just found the solution, turns out I needed an empty content type for this GET request. Im very novice with this json business
    The header shows up as expected.

    Thanks for the awesome plugin!
    /Best Regards

    Leave a comment:


  • replied
    Greetings! Awesome plugin, but im having a problem. Is it not possible to set the header?
    When attempting this, no header at all is present in the GET request.

    Click image for larger version

Name:	headless.jpg
Views:	1
Size:	197.6 KB
ID:	1114510

    There must be some way to set the header right? Im not sure what im doing wrong here.
    Thanks for any advice!
    /Best Regards

    Leave a comment:


  • replied
    Hi Patrick!

    Thanks for replying and giving a hand!

    Can you show an image of what you have before the get field functions?
    I would really like to know and see what is your way of processing the Json request and how are you exactly getting the response.
    Could I also ask about the precise formatting of your Json? Whether you have nested or simplified. etc.

    I would really appreciate it, I have been investigating for two weeks, scouting the interwebz but to no avail.

    I appreciate your time, I will be following your blog to see how you try to implement varest use with Wordpress !

    Thanks again!
    Lucas

    Leave a comment:


  • replied
    Originally posted by SlyFly7 View Post
    Hi Everyone!

    I only have a one simple problem, I don;t know how to capture whole Json data received from a website into separate variables inside unreal.
    Could someone show me and everyone an example or point to the right direction? I saw few people asking and they were ignored.

    Thanks a lot!
    I haven't had time to make a full guide yet, but I've got a screen shot on my blog that shows how I was doing it. You'll need to know the field names in your JSON though.

    http://blog.patrickbarnhardt.info/20...o-wordpress-2/

    Check the very first image.

    Leave a comment:


  • replied
    Hi Everyone!

    I only have a one simple problem, I don;t know how to capture whole Json data received from a website into separate variables inside unreal.
    Could someone show me and everyone an example or point to the right direction? I saw few people asking and they were ignored.

    Thanks a lot!

    Leave a comment:


  • replied
    Oh of course.. silly me.. thank you for helping.

    Leave a comment:


  • replied
    Originally posted by soulmapp View Post
    Thank you for the quick response.
    Is that version of plugin compatible with ue 4.12
    if not is where no other way with the nodes available to crerte a pointer object. as im using nodechef which using the parse api.
    You can make it in blueprints by appending strings:

    {"__type":"Pointer","className":"
    <ClassName>
    ","objectId":"
    <ObjectId>
    "}

    Leave a comment:


  • replied
    Thank you for the quick response.
    Is that version of plugin compatible with ue 4.12
    if not is where no other way with the nodes available to crerte a pointer object. as im using nodechef which using the parse api.

    Leave a comment:


  • replied
    Originally posted by soulmapp View Post
    Amazing plugin been using it since 4.8,
    But the latest update to the plugin for UE4.12. I noticed that constuct pointer object node been removed, Can anyone give me a heads up on, how create the pointer now that that node has been removed. Grateful for any info
    [ATTACH=CONFIG]107280[/ATTACH]
    I've removed Parse support from plugin few releases ago, so now this node isn't available out the box. Latest release with parse support is https://github.com/ufna/VaRest/releases/tag/v1.1-r12

    Leave a comment:


  • replied
    Construct Pointer Object Node removed

    Amazing plugin been using it since 4.8,
    But the latest update to the plugin for UE4.12. I noticed that constuct pointer object node been removed, Can anyone give me a heads up on, how create the pointer now that that node has been removed. Grateful for any info
    Click image for larger version

Name:	Cobjject.jpg
Views:	1
Size:	19.2 KB
ID:	1114133

    Leave a comment:

Working...
X