Using custom query methods using iOS5

My initial question regarding Consuming custom query methods from Android seems to have attracted very little attention - I translated it to a specific Android question

So, simply, with the development of iOS5, is it possible to use custom query methods?

If so, in what way.

A "standard" set of query methods according to RFC-2616 :

  • Get
  • Put
  • Post
  • DELETE
  • TRACE
  • CONNECT

I would like to add another one called SEARCH . In an API, using PHP or Java, this is easy to implement in PHP. Consuming this new request method is proving to be an issue for the iOS developer.

Does anyone have links to working examples or frameworks that will support a custom query method like SEARCH or FOOBAR ?

+1
source share
1 answer

ASIHTTPRequest allows: http://allseeing-i.com/ASIHTTPRequest/How-to-use

Check "PUT Requests and Custom POST Files".

 [request setRequestMethod:@"SOME_REQUEST_METHOD"]; 
+2
source

Source: https://habr.com/ru/post/916119/


All Articles