Simple HTTP Post Request in Blueprints - Unreal Engine 5 Tutorial

Поділитися
Вставка
  • Опубліковано 30 вер 2024
  • Short tutorial on how to do a simple HTTP Post Request in Blueprints when using Unreal Engine 5.
    Every week on Tuesday a new tutorial of something that I use when producing (esports) broadcasts.
    Instagram: / sumatras_studios
    Twitter: / gjverhoeff
    Discord Server: / discord
    #unrealengine5 #httprequest #development
  • Наука та технологія

КОМЕНТАРІ • 14

  • @kevs3514
    @kevs3514 3 місяці тому +1

    hi thank you for the video, only there is a problem, if the api (the post or get) is not online, then the app crashes. Do you think there is a way to rectify this? Thanks again for the video.

    • @gjverhoeff_tutorials
      @gjverhoeff_tutorials  3 місяці тому

      You could add a check if the link even replies (open URL if response then do the actual request), but I never had this issue to be honest.

  • @mueezkh
    @mueezkh 10 місяців тому +1

    When I create a string like you have and connect it to the body pin I get an error:
    Http Post Request - Attempted to deserialize the result body into a wildcard. The supported types are String and Struct

    • @gjverhoeff_tutorials
      @gjverhoeff_tutorials  10 місяців тому

      Then what you receive as body is not be able to be translate to a string or a struct. So would check in for example Postmen what the result is what you get to verify the response body.

  • @SS-gu2tx
    @SS-gu2tx 5 місяців тому

    When I create an actor I get access to Send HTTPRequest
    which is wonky and makes no sense, but in Widget blueprints I get access to Http Post Request. Any idea why?

  • @hyperdrifter1734
    @hyperdrifter1734 10 місяців тому

    Great video! The only thing is when I run my game in the editor it works fine but in the build, when I get to the post request part of the game it crashes with a fatal error. Any idea of how to fix it?

    • @gjverhoeff_tutorials
      @gjverhoeff_tutorials  10 місяців тому

      Could be that you need to make sure that the plugin is in your project itself and added to the defaultengine.ini
      Within this forum post they discuss it: forums.unrealengine.com/t/how-do-you-include-plugins-in-packaged-builds/283815/5

    • @hyperdrifter1734
      @hyperdrifter1734 10 місяців тому

      @@gjverhoeff_tutorials Awesome thank you very much!

    • @minotru
      @minotru 8 місяців тому

      did this solve the problem? I'm having the same issue@@hyperdrifter1734

  • @vaibhavdevadiga9807
    @vaibhavdevadiga9807 Рік тому

    how to send a message during run time. using the same post request, and get a message in return?

    • @gjverhoeff_tutorials
      @gjverhoeff_tutorials  Рік тому

      As far as I am aware that works the same way. So if you tie it to a custom event or a begin play (and other ways how blueprints work) it should work the same as in the editor.

    • @vaibhavdevadiga9807
      @vaibhavdevadiga9807 Рік тому

      @@gjverhoeff_tutorials if you can make a video on it. It will be much more helpful. Thanks 🙏

  • @patriklind545
    @patriklind545 Рік тому +2

    Excellent, thanks.