Re: Pass an htttpbody on a GET request with NSURLRequest
Re: Pass an htttpbody on a GET request with NSURLRequest
- Subject: Re: Pass an htttpbody on a GET request with NSURLRequest
- From: Jens Alfke <email@hidden>
- Date: Sun, 05 Jul 2015 17:29:38 -0700
Probably a good indication is that the NSURLRequest docs say this about the HTTPBody property. DiscussionThis data is sent as the message body of a request, as in an HTTP POST request.
“As in…” means that’s an example; it doesn’t mean that the data is only sent on a POST.
POST is the most commonly used method that takes a method body. But I’ve sent PUT and DELETE requests with bodies without a problem. I can’t remember ever sending a body with GET, though.
—Jens |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden