Skip to main content

We POST data to Corelogic in a Python script that works well for one offs, but we are trying to run 11K and think FME would be faster. The reason we POST is that the bundle we send is greater than a GET can handle (larger number of Lat, Long).

We have tried setting up similar to our Py code with URL, json bundle in the Body, and Authorization Token in the Header but no joy see pic _A.  request_post = requests.post(parcel_url, json=parcel_request, headers=coreHead). We also have also setup with Query String Parameters

Any help would be appreciated.

Examples:

URL: https://api-prod.corelogic.com/spatial-tile/parcels

Json: { "geometry" : "POLYGON ((-75.90819777899998 39.808981800000026,-75.90412056399998 39.808855236000056,-75.90812199699997 39.80857331300007,-75.90819777899998 39.808981800000026))", "pageNumber" : "1", "pageSize" : "50" }

Auth: 'Bearer li7HyqUBbCaBKVBCYSB0VpLjsBfQ'

"but we are trying to run 11K and think FME would be faster"

What is the reasoning for this? Is not the network and server-side API the bottleneck here? I would expect the performance differences between Python and FME to be negligible on interacting with an API.

Testing with your token, it seems the bearer token is expired. Which error message are you getting in the reply?


Thx David! We finally found an issue in the json bundle. Yes, The Token only last 58. Now we need a better GeometryValidator. Thx again

 


Reply