Don’t post snippets...
What is in targetUrl? Is that a correct address? Can you reach it from your computer?what happens if you submit your POST?
How is the network configured on your arduino?
What does httpClient.begin(targetUrl);
return?
Don’t post snippets...
What is in targetUrl? Is that a correct address? Can you reach it from your computer?what happens if you submit your POST?
How is the network configured on your arduino?
What does httpClient.begin(targetUrl);
return?