How to get the response of a GET request on arduino

The query is displayed on the serial monitor.
I want to retrieve a specific variable in the response. "badge inconnu"

We have no idea how you produce that output.

Your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is not for problems with (nor for advise on) your project :wink: See About the Installation & Troubleshooting category.

Read until you see two '\n' (NewLine) characters in a row. That signals the end of the HTTP headers. The data after that is the data you want.

One way to do it is String line = client.readStringUntil('\n'); and repeat until you get an empty line (line == ""). Then read one more time to get your data.

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