Skip to content

Return the whole response instead of just the response["data"] in getData(). #3

Description

@sarthak-patidar

Can you modify this library to return the whole response object instead of just the data key of the response (on line 128 of phpCriclib.php)?
This way users can access the etag (to enable etag based caching which ultimately saves your bandwidth and allows users to optimize their platform) and status codes (to re-pull in case of non 200 response code)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions