• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Pass an htttpbody on a GET request with NSURLRequest
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


On Jul 5, 2015, at 4:08 PM, email@hidden wrote:

Probably a good indication is that the NSURLRequest docs say this about the HTTPBody property. 

Discussion

This 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

References: 
 >Pass an htttpbody on a GET request with NSURLRequest (From: Antonio Nunes <email@hidden>)
 >Re: Pass an htttpbody on a GET request with NSURLRequest (From: Avi Drissman <email@hidden>)
 >Re: Pass an htttpbody on a GET request with NSURLRequest (From: Antonio Nunes <email@hidden>)
 >Re: Pass an htttpbody on a GET request with NSURLRequest (From: Jens Alfke <email@hidden>)
 >Re: Pass an htttpbody on a GET request with NSURLRequest (From: Antonio Nunes <email@hidden>)
 >Re: Pass an htttpbody on a GET request with NSURLRequest (From: Antonio Nunes <email@hidden>)
 >Re: Pass an htttpbody on a GET request with NSURLRequest (From: email@hidden)

  • Prev by Date: Re: Pass an htttpbody on a GET request with NSURLRequest
  • Next by Date: Re: Pass an htttpbody on a GET request with NSURLRequest
  • Previous by thread: Re: Pass an htttpbody on a GET request with NSURLRequest
  • Next by thread: Re: Pass an htttpbody on a GET request with NSURLRequest
  • Index(es):
    • Date
    • Thread