tomig:
in the xrpi String it only writes a 200 or a -1. What am i doing wrong?
http.GET() returns a status code AS AN INTEGER, NOT A STRING.
-1 means ERROR.
200 is HTTP_CODE_OK, the code for "OK" so in those cases, you fetch the response with "String payload = http.getString();".