Quantcast
Channel: Questions in topic: "httpwebrequest"
Browsing all 190 articles
Browse latest View live
↧

About 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 Article


Building 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 Article


Where 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 Article

WWW 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 Article

Are 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 Article


Why 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 Article

Serialize 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 Article

WWW 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 Article


get 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 Article


How 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

Https freezes the game for one second

When I make a request to the server, all the game freezes for a few seconds, I think that the game is waiting for a server response, there is a way to not wait for the server's response? This is my...

View Article

WebRequest.BeginGetRequestStream fails on iOS using IPv6 DNS64/NAT64

Apple has recently made it a requirement for all apps to support IPv6 DNS64/NAT64 and I've been working to comply with this mandate. I followed Apple's directions for setting up a DNS64/NAT64 network...

View Article

Internet Connection Check using 204 HTTPStatusCode

I've been working on an Internet Connection Checker... I've tried many things, from pinging to WebRequests, from RESTful APIs to socket beacons. The one thing I found most reliable and performatic,...

View Article


HttpWebRequest Async not working on Android

The following simple code wants to download an asset bundle asynchronously from a given URL: private void GetWebContent(String _url) { Debug.Log("Creating webrequest with URL = " + _url); _request =...

View Article

Trying to use PATCH on a UnityWebRequest on Android and getting 'Unsupported...

Hi Really hope someone can assist, we are using Azure Mobile App Service and everything works fine in the editor and on IOS, we only have a problem on Android when trying to update an existing record....

View Article


GET image over HTTPS with unvalidated SSL certificate and authenication

I have a Raspberry Pi server where if I request GET `https://192.168.1.2/stream`, the server will ask for authentication, then provide a snapshot image of the webcam. I use `HttpWebRequest` for...

View Article

Download 6 textures from the web, create a cubemap and set it as skybox in...

In my app I need teh user to be able to download already prepared 360 photos, cut into 6 pieces. After that, the cubemap must be made, and loaded as a skybox, so that the user could explore 360 degrees...

View Article


[ASP.NET] [WEB API] Problem with HttpWebRequest.ContentType

Hey guys, I'm trying to send an image taken from my webcam to a web API for processing. So I take a screenshot and store it in a Texture2D variable, then convert that to a byte[] by calling...

View Article

[ASP.NET] [WEB API] Problem with HttpWebRequest.ContentType

Hey guys, I'm trying to send an image taken from my webcam to a web API for processing. So I take a screenshot and store it in a Texture2D variable, then convert that to a byte[] by calling...

View Article

HTTPWebRequest.GetResponce 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 Article
Browsing all 190 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>