Skip to content

tewha.net

Mostly about iOS software development.

Tag: NSURLConnection

Handling 302/303 redirects

If you try to POST to a web API using NSURLConnection that redirects you using a 302 or 303 redirect, you’ll fall over to a GET request. This is intentional, but you can override it.

Published 2012-05-30
Categorised as Technology Tagged iOS Development, NSURLConnection, NSURLRequest, OS X Development

Archives

tewha.net
Proudly powered by WordPress.