0

I use GET/POST request in app, and in some example i see:

    [URLRequest setValue:@"application/json" forHTTPHeaderField:@"Accept"];
    [URLRequest setValue:@"application/json" forHTTPHeaderField:@"Content-Type"];

Can you explain the significance of these tapes.

biloshkurskyi.ss
  • 1,358
  • 3
  • 15
  • 34

0 Answers0