Questions tagged [http]
Hypertext Transfer Protocol (HTTP) is a network protocol for distributed hypermedia systems; it is most commonly known as the foundational protocol for the World Wide Web.
27 questions
1
vote
3
answers
3k
views
How to send an HTTP Request from an Unreal Blueprint?
I'm updating a little telemetry-logging blueprint that uses HTTP requests to log game events to a server.
In the past, I've used the Fetch plugin for this, though it's currently listed as "Not ...
1
vote
1
answer
745
views
Why is HttpClient failing in Unity?
Before starting, I know I can use the UnityWebRequest class instead. The problem is that it is another library the one that is failing: NEthereum's source code, which makes heavy use of the HttpClient....
1
vote
0
answers
237
views
How to implement SSL Pinning in Unreal Engine?
So, I am using FHttpModule to initialize my HTTP request and set different parameters to it. Like this :
...
0
votes
1
answer
457
views
Unity HTTP webrequest is very slow on localhost
I'm working on an online game on my computer localhost. to do this I use Xampp.
Anyway, my problem is that the UnityWebRequests ...
1
vote
1
answer
814
views
Is it necessary to use HTTPS for mobile game communication with server?
Based on information from my friends working at game studios, it seems most commercial mobile games are using HTTP instead of HTTPS for communication between the phone and the server, and I am ...
0
votes
1
answer
2k
views
UnityWebRequest security
I have a game where I would like to register users and post the outcome of matches between two users through web requests in Unity but have some security questions regarding ...
0
votes
1
answer
91
views
Incorporating HttpSession into libGDX communication
I wrote my server-side code prior to learning libGDX and writing my client-side code. Gdx.net provides for the http get communication I designed for, except for session authentication. I say that ...
0
votes
0
answers
313
views
How to send data from libgdx project to web?
I would like to work on moving the json data from libgdx to my web server, but I am not sure how to do it. The method below was created by referring to libgdx's documentation.
...
1
vote
1
answer
793
views
Why is the timer not calling the function?
I am trying to call a function every 30 seconds. I have used this before without issues so I'm not sure why it isn't working now. Any ideas? Has something changed in 4.24 maybe?
.h I have tried both ...
0
votes
1
answer
285
views
Why do I get syntax error: identifier FHttpRequestPtr
I'm trying to add HTTP requests to my game and everything compiles fine until I try to set up a delegate for when the response is ready. Adding this function causes the compiler to fail for syntax ...
3
votes
1
answer
634
views
Godot and getting files via HTTP
So, I am wanting to use Godot to get a (binary) file using HTTP and then either save it or, even better, turn it into a Resource in memory that I can use. It'll be WAV files that I'm getting in ...
0
votes
0
answers
184
views
How can I send a Base64 Image?
I'm looking to make a post request with a base64 image. When I make the request, I get an error called "ERROR_IMAGE_SIZE_0"
...
0
votes
1
answer
692
views
How to download material files (including shaders) from external source on runtime?
My game has a lot of different materials, shaders and textures. When a bunch of players are dropped into the same game, I want those assets to be loaded from an external source instead of being built ...
5
votes
1
answer
489
views
System.Net.Http.dll and Unity 2018.2.1, 2.2, 2.3 are conflicting, assembly reference keeps being deleted in VS 2017, any suggestions?
I'm looking for some suggestions on how to fix a strange bug i've been getting with System.net.http.dll.
For the record, builds work fine as i have the mcs.rsp file in the /Assets/ folder with "-r:...
0
votes
1
answer
384
views
POST JSON method does not work when project has been exported to WEBGL and uploaded to firebase hosting
I have a database set up on firebase and when i run my game in the unity edtitor and as a standalone exported Windows .exe file, the call gets made correctly to the database and JSON data gets posted ...
0
votes
0
answers
122
views
from unity, how do I set up timer for c# httprequest?
so I'm trying to make a internet connection with c# using unity, and what I want to do is make the client to connect to the site, and load the data.
but there are cases there's lag, or weak ...
1
vote
1
answer
1k
views
iOS 9.3.5 WebSocket connection always closes with code 1006
I'm working on an app that uses a LabVIEW implemented server on the backend that is proxied via apache. It works great on desktops and android devices but on iPhone and iPad the websocket connection ...
3
votes
1
answer
464
views
Why does the engine crash when I POST data to a server?
I am working on communications between my game and a cloud database. I'm working on the authentication part but when I try to pass data to the server in a POST the engine crashes. If I pass in a ...
0
votes
1
answer
156
views
AudioSource not working. Empty Exception
I'm trying to load and play an wav file that exists in my Application.dataPath but when the game gets to the line ...
0
votes
2
answers
4k
views
WWW(Unity) with HTTPS on Android not working
I'm using a native android plugin my team made for communication with a server, and as it uses HTTPS I use a certificate with it. Everything's fine with that, the problem is that, in Unity, when I try ...
0
votes
1
answer
554
views
How to use NoSQL REST API of Gamesparks in my Unity project? [closed]
Gamesparks has a documentation of the API but I am not sure how to send https requests to use that API.
0
votes
1
answer
909
views
Network Communication For Multi-Player Turn-Based Game
I'm attempting to develop a multi-platform turn-based game that [I suspect] follows the general client-server pattern. For this question, let's assume I only care about communications inside of a "...
2
votes
1
answer
2k
views
How to send data from Unity to Mailchimp
I have followed the WWWForm script reference to try to connect Unity with Mailchimp. According with the log, the form is sent without errors. Unfortunately Mailchimp did not stored any data.
This is ...
3
votes
1
answer
2k
views
Libgdx Networking (http requests) - Login [duplicate]
I am new to Networking and Databases,
but im trying to learn MySQL and HTTP Requests to create a
user Login for a game.
My goal is to let users create accounts and login to them etc (for Highscores ...
0
votes
1
answer
134
views
Trigger scene loading in one device from another device using Unity WWW class
I have a master device and client device. I want to load a scene in the client device by pressing a button in the master. My method is, when the button is pressed in the master device, a data is ...
2
votes
1
answer
14k
views
Sending POST data with WWW in Unity C#
I would like to use Unity's WWW class to send a an HTTP request with POST data. So in my server, my PHP script can do something like
$number = $_POST["NUMBER"];
...
0
votes
1
answer
259
views
Downloading 10 images and storing their data with WWW
I would like to download 10 images, and store their texture data into my list. I don't really know how to do that - I heard that for this you use the WWW class, so I went:
...