Posts by Emerson Almeida Matos • 26 points
1 post
-
1
votes1
answer129
viewsA: Error when requesting API
Only add a User-Agent in the request that it will work. private static HttpHeaders createHttpHeaders() { HttpHeaders headers = new HttpHeaders(); headers.add("User-Agent", "PostmanRuntime/7.26.2");…