Skip to content
This repository has been archived by the owner on Apr 22, 2019. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
OlehKulykov authored Jun 15, 2016
1 parent 52a6984 commit eb77b76
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ nhr_request_set_method(_request, nhr_method_GET); // GET
// Add HTTP headers
nhr_request_add_header_field(_request, "Cache-control", "no-cache");
nhr_request_add_header_field(_request, "Accept-Charset", "utf-8");
// Optional: in a case of POST, send gzip compressed url encoded parameters
nhr_request_add_header_field(request, k_nhr_content_encoding, k_nhr_gzip_deflate);
............
// Add request parameters
nhr_request_add_parameter(_request, "format", "json");
Expand Down

0 comments on commit eb77b76

Please sign in to comment.