HTTPWebRequest.GetResponce for NTLM protocol not working on Android
I am trying to access data from IIS Server protected by NTLM protocol using HTTPWebRequest, which works fine on unity editor( windows ) but fails in Android Mobile App. I am getting 401 Unauthorized...
View ArticleDate request header is missing from http request(UnityWebrequest)
I am trying to send a GET request to an API that requires the Date request header. However UnityWebRequest does not send it automatically (I have checked with https://requestb.in/) and I cannot set it...
View ArticleHttpWebRequest timed out behind proxy
Hi, I try to access web services behind a proxy. Until now, I used unitywebrequest but I understood that proxy configuration wasn't handled by them. So I changed my code to use HttpWebRequest as it...
View ArticleDoes overriding UnityWWWRequestDefaultProvider works for UnityWebRequest?
My project suffers from web cache problem in iOS client. We used UnityWebRequest with SetRequestHeader("Cache-Control", "max-age=0, no-cache, no-store"); SetRequestHeader("Pragma", "no-cache"); but it...
View ArticleHttpWebRequest with Networkcredentials
Hi, I am trying to access a URL using (HttpWebRequest)WebRequest.Create(urlAddress). by giving authenticate using Network credentials. But in UNITY3D its giving the below error. WebException: The...
View ArticleHow can I display text from a webrequest?
I am using a HTTP request to try and access a REST endpoint. I want to display the text I get in a canvas but I can't seem to get the output of the request to display in the Canvas. using...
View Articlewhy does UnityWebRequest want Dispose() ?
The [Unity Docs][1] state:> Signals that this [UnityWebRequest] is no longer being used, and should clean up any resources it is using.>> You must call Dispose once you have finished using a...
View ArticleUnityWebRequest error 0 in Editor, but not in WebGL build
I'm trying to send a UnityWebRequest to a server. It works perfectly on the WebGL Player, but not in the Editor private static IEnumerator SendWebRequest(UnityWebRequest webRequest, UnityAction...
View ArticleHow to change Host name in HttpWebRequest headers in unity .net 2.0?
I want to call a webpage by its ip address by adding custom values to request header for "host". "" Code: HttpWebRequest request = (HttpWebRequest)WebRequest.Create("http://1.1.1.1");...
View ArticleUnityWebRequest behind a proxy
Hi We have just released some software into schools. They all use proxy servers and I believe that this is preventing the UnityWebRequest from connecting properly to our web api. The users can see the...
View ArticleUnable to call external API (IBM Watson) via HTTP request?
I'm trying to call IBM Watson's API to perform sentiment analysis from my Unity project, using the WWW library. This is my current code: string uri =...
View ArticleUnityWebRequest: strange responseCode values, eg -1202
We see a few HTTP requests come back with strange **responseCode**. I don't have a repro, so all i know is that when cast to an int (from a long), we sometimes get values like **-1202**, **-1200**, and...
View ArticleIOS HTTP GET with Authorization Header not being sent
Hi! I have got a problem connected to sending HTTP GET request with authorization header on iOS platform. In the editor and on Android it's fully working, but on iOS it is working nondeterministically....
View ArticleUnityWebRequest timeout not containing
I am trying to use Mapbox but I am receiving this error in the code provided in the SDK. namespace Mapbox.Unity.Utilities { using System; using UnityEngine.Networking; using System.Collections; using...
View ArticleWWW class and UnityWebRequest no longer working in Unity 2017.3.0
Hi guys, I've been tasked with porting one of our apps from Unity 5.6.0 to Unity 2017.3.0. This app runs on the following platforms: - Windows Standalone - Windows Universal Store App - iOS - and...
View ArticlePATCH and DELETE methods - HTTP Requests problem
Hello ! I'm posting here today because I got a little problem. I have to make a Login menu in Unity. There is already an API, that I didn't make, I just have to send requests from Unity and analyze the...
View ArticleHTTP GET Method in C# Unity 3D - How to target specific text or header
Hi everyone, I'm currently new here in Unity community so please go easy on me. I have problem with WebRequest in Unity its working but catches all html tags, meta date ext. So my question is is there...
View ArticleWWW yield is not returning any value in ios for yahoo finance api
Hi All, I am getting the stock value from yahoo finance and displaying it in a Text UI component. The below code is working fine in Windows PC, Mac, Android mobile but not in iOS. Code is not getting...
View Articleget a mysterious problem,when i use HttpWebRequest in unity c# script.
in script,i use HttpWebRequest to get service from network.but it comes a mysterious problem. the source code: string url = "http://apis.baidu.com/apistore/vop/baiduvopjson"; HttpWebRequest request =...
View ArticleHow to stop mono from preventing authentication
Hi everyone! I am trying to connect to a server that requires a client certificate. I connect with httpWebRequest, and in a console App I made in Visual Sudio, it works like a charm! But when I try it...
View Article