Posts

Post not yet marked as solved
7 Replies
7.4k Views
Hi,I am wondering if its possible to do a GET request with a JSON payload.According to the documentation for NSURLSession, the following is stated: "Your app can provide the request body content for an HTTP POST request in three ways: as an NSData object, as a file, or as a stream."However, this does not mention GET requests. I have tried to put a body in HTTP POST request but it seemed like nothing was actually sent over. I am wondering how to do this properly.. and if it can't be done, are their lower level APIs that I can use to perform this task anyway?
Posted
by rty.
Last updated
.