How do you extract text from response web?

when use api for get response there are more details and and codes. I want some info,url or string there without us split or replace and trim.

Provide an example of the web response, as text, and indicate which elements you require...

for example I do get for https://ipinfo.io/161.185.160.93/geo

Blockquote {
"ip": "161.185.160.93",
"city": "New York City",
"region": "New York",
"country": "US",
"loc": "40.7143,-74.0060",
"org": "AS22252 The City of New York",
"postal": "10004",
"timezone": "America/New_York"
}

How extract "10004" from this text


3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.