Setting header using ASIHTTPRequest or ASIFormDataRequest

109 views Asked by At

I want to set header using ASI and I wrote the following code for it but it is not working. Please help.

Thanks in advance.

My code is:

     ASIHTTPRequest *headReq=[ASIHTTPRequest requestWithURL:url];
     [headReq addRequestHeader:@"Authorization" value:encodedData];
0

There are 0 answers