Skip to content
This repository was archived by the owner on Nov 2, 2023. It is now read-only.
This repository was archived by the owner on Nov 2, 2023. It is now read-only.

API responding differently in app than browser tab #6

@timwis

Description

@timwis

This is quite bizarre, but we seem to have caught an anomaly in the wild.

If you search [407 bainbridge](http://property.phila.gov/#address/407 bainbridge) on the app, it finds a result and takes you to the property properly. If you view the network tab during the search, you can see the request to the API for this call and the proper response:

{
    "status": "success",
    "total": 1,
    "data": {
        "properties": [
            {
                "property_id": "1546000407",
                "account_number": "871270700",
                "full_address": "407 BAINBRIDGE ST",
                "unit": "",
                "zip": "19147-1526",
                "address_match": {
                    "original": "407 bainbridge",
                    "standardized": "407 BAINBRIDGE ST",
                    "similarity": 92,
                    "match_code": "",
                    "match_type": "MA"
                },
                .......
            }
        ]
    }
}

If you right-click that request and open it in a new tab (direct link), you'll get a completely different response, with no results:

        {
            "status": "success",
            "total": 0,
            "data": {
                "properties": []
            }
        }

Am I crazy or is this happening to everyone? I've even tried replicating the exact call with all the headers that the application includes inside a REST Console. What's going on?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions