Are there external services that can archive data from API StackOverflow?



  • Instead, JSON receives a set of figures on API. They said it was compressed.

    Here's the request:

    https://api.stackexchange.com/2.2/search?order=desc&sort=activity&intitle=corezoid&site=ru.stackoverflow.com
    

    The click is all right. If used https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop too. I was told that postman is automatically archiving compressed data.

    The data that I get into the API system are:

    {
        "create_time": "2015.11.25 18:09:04",
        "change_time": "2015.11.25 18:09:04",
        "node_prev_id": "5655caeaf6c37670c306ddef",
        "status": "processed",
        "user_id": 5781,
        "data": {
                "__conveyor_api_return_description__": "Not valid http result json(<<31,139,8,0,0,0,0,0,4,0,171,86,202,44,73,205,45,86,178,138,142,213,81,202,72,44,142,207,205,47,74,85,178,74,75,204,41,78,213,81,42,44,205,47,73,140,207, 77,172,80,178,50,54,48,128,241,139,82,115,19,51,243,50,243,210,149,172,140,44,141,106,1,178,195,112,174,67,0,0,0>>)",
                "__conveyor_api_return_http_code__": 200,
                "__conveyor_api_return_type_tag__": "api_no_valid_json",
                "__conveyor_api_return_type_error__": "software"
        }
    }
    


  • Server sends compressed data only if the compression is on the client's side.

    For example, the client at GET/POST request Request Transmitted:

    Accept-Encoding: gzip, deflate, lzma, sdch
    

    Then the server can squeeze the data and send it. But that's it. Response He will report what compression method was used:

    Content-Encoding: gzip
    

    API StackOverflow, why ignores the user &apos; s request and compresses gzip All the data, so the problem is on the server's side, you only have to archive data every time.




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2