Questions tagged [sthttprequest]

A NSURLConnection wrapper for humans.

GitHub repository

10 questions
10
votes
1 answer

How can you use AFNetworking or STHTTPRequest to make a request of a SOAP web service?

I am able to use an NSMutableURLRequest with an NSURLConnection to connect to a SOAP web service, as follows: NSString *soapMessage = [NSString stringWithFormat:@"" "
Paresh Navadiya
  • 38,095
  • 11
  • 81
  • 132
2
votes
1 answer

STHTTPRequest Multi Image upload

I'm changing the connection object of my app, untill yesterday I have used AsiHttpRequest: [request setData:imgDataBig withFileName:@"imagename" andContentType:@"image/jpeg" forKey:@"image"]; [request setData:imgDataThumb withFileName:@"thumbname"…
cri1682
  • 442
  • 6
  • 17
1
vote
1 answer

STHTTPRequest "& char" how i can send this char to a php page?

My ios app have to send/retrive some date throught some php pages. This is an example call usingi STHTTPRequest : __block STHTTPRequest *up = [STHTTPRequest requestWithURLString:[NSString…
user31929
  • 1,115
  • 20
  • 43
1
vote
2 answers

IOS STHTTPRequest going into Error Block

I a using STHTTPRequest to fetch JSON data in an IOS App. Please see the code below. When i am testing on Iphone 6 IOS8.0, Sometimes the code is going into error block. Its not happening always , only sometimes. Could anyone help ? Thank…
1
vote
1 answer

STHTTPRequest how to postData not Key-Value?

I try using STHTTPRequest to post JSON Object: { "login":"name", "password":"password" } how i can do it? I write ios code: STHTTPRequest * request=[STHTTPRequest…
Dmitry Nelepov
  • 7,246
  • 8
  • 53
  • 74
0
votes
0 answers

Semantic Issues when using STHTTPRequest

I've imported STHTTPRequest by adding it to my project and including "STHTTPRequest.h" in my app delegate, as the instructions on the github page say to. However, I'm getting the following errors and warnings: (Warning) Semantic Issue:…
lightbord
  • 143
  • 4
0
votes
0 answers

STHTTPRequest how i can implement https?

I have an app that communicate with a dedicated server, i want to implement a https communication... I'm using sthttprequest wrapper for all my requests, that an example request: __block STHTTPRequest *up = [STHTTPRequest…
user31929
  • 1,115
  • 20
  • 43
0
votes
1 answer

sthttprequest and jsonkit with arm64, not work anymore?

I'm creating and update of one of my app, it uses sthttprequest and jsonkit. From this february apple require the supporting for 64 bit architectures, i have already seen this warning in the past months : iOS app submission : missing 64-bit…
user31929
  • 1,115
  • 20
  • 43
0
votes
1 answer

STHTTPRequest and php create a custom error code

I'm using sthttprequest and php for webserver communication in my apps. This is a sample request: -(void)GetSomething:(NSString*)Username :(NSString*)Password { __block STHTTPRequest *up = [STHTTPRequest requestWithURLString:[NSString…
user31929
  • 1,115
  • 20
  • 43
-1
votes
2 answers

STHTTPRequest returning null

I'm able to load this URL in a safari browser and see the JSON data I need, but this STHTTPRequest is returning null, making me not able to use the JSON, what is going wrong here? I am loading in safari let url = "192.168.101.1:8080/api" let…