Http httpObject = new Http();
      HttpRequest request = new HttpRequest();
      request.setEndpoint('url');
      request.setMethod('$GET,POST,PUT,PATCH,DELETE,TRACE');
      HttpResponse response = httpObject.send(request);
      String responseBody = response.getBody();
      Apex language logo

      HTTP request

      Apex recipes

      Shortcut: http_request

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.