WWW POST request headers gone on webplayer facebook
I am encountering a strange issue in my Unity game, I am trying to send some data with authorization headers to my web service in a POST request. The game is hosted in a facebook unity canvas. the...
View ArticleProblems with HTTPS, HttpWebRequest, and iOS?
We're using HttpWebRequest to hit HTTPS urls, on iOS. In Debug, local builds, etc. everything works fine. The HTTPS urls we're hitting have valid, commercially signed, perfectly normal certificates,...
View Articledelay sending http data with no answer
I neet to send some commands to a video server, the final URI is something like: http://10.10.10.10/cgi-bin/fwsysget.cgi?FwModId=0&FwCgiVer=0x0001 I have a coroutine: //Command is the full URI...
View ArticleHow can we use httpwebrequest in editor
I use AWSSDK for .net 3.5 to make custom editor to upload file to S3 And it keep throwing TlsException: Invalid certificate received from server. Error code: 0xffffffff800b010a Which is relate to...
View ArticleUnity 5.0 HTTPS/SSL Certificate Improvements?
Based on previous questions like http://answers.unity3d.com/questions/445951/using-https-and-ssl.html I can understand that at least as of a year ago Unity engine was unable to validate HTTPS/SSL...
View ArticleHttpWebRequest on Android
I am working on an app which can upload tracks to SoundCloud. I have [been working][1] on this for a while but i can't get it to work. I am using HttpWebRequest for the request to SoundCloud and this...
View ArticleWhat is a good cross-platform alternative to WWW?
I've been integrating the [Firebase API](https://www.firebase.com/docs/web/api/) in Unity for a few days now. The WWW class is a bit tricky to wrangle, but I got it working as intended with Firebase's...
View ArticleHow to stay connected on a website to send WWWForm?
I explain, so, I'm working on a game which is suppose to send score, pseudo, etc, to a web leaderboard. My problem is that I've two different URL, one for login (url/Account/Login) and the second to...
View ArticleError processing web request: Status code 500
Hi, I'm trying to call a simple "Hello World" method in a .NET web service from a script in my Unity project. On running the Unity application in the editor, it makes it to the point of calling...
View ArticleHTTP to WWW Help --Small Sample Code Conversion
Hey guys, seems that I have a similar problem as this guy: http://answers.unity3d.com/answers/1088100/view.html I'm new to network programming, and can't for the life of me get this small batch of code...
View ArticleAbout Implemented host name resolution with IPv6 in Unity 4.6.9 release-notes.
Hi, Unity team. I have question about release-notes of unity-4.6.9. It is "Implemented host name resolution with IPv6". but, When I use "HttpWebRequest" on iOS9 device(Unity 4.6.9 build), I found the...
View ArticleBuilding for Windows 10 gives error for HttpWebRequest and StreamWriter
The game runs perfectly in the editor![alt text][1] [1]: /storage/temp/60431-windows-10-error.jpg
View ArticleWhere to continue in Response/request?
Hey all, So i was working on my login form (with works), now i can't remember anymore where i need to write the next method call to continue after the login response was positive to login. Can you give...
View ArticleWWW does not show Location in header response (302/Redirect)
There are some nice guides out there on how to manually handle redirects (HTTP code 302) using the Unity WWW class. See:...
View ArticleAre double response headers supported in unity?
Server sends me back two Set-Cookie headers. However, when I debug all headers in unity only the last one is visible. Is there a way to retrieve first Set-Cookie data? Thanks
View ArticleWhy current culture is always en-US and what is the alternative ?
Hello everybody, I'm using the WWW class to perform a https request and I don't specify accept-language in the headers. My problem is: the server receives always en-US as Accept-Language in the headers...
View ArticleSerialize JSON with invalid C# names
Hi all I have an existing Rest API I'm trying to use that has JSON like so ` { header-property1: "yo", header-property2: 42 } ` Unfortunately trying to use JsonUtility requires that I name the field on...
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