Loading tutorials
Todo_API set up in Setup. Here you will build an HttpRequest piece by piece.3 min readHttp, HttpRequest and HttpResponse, and that you know the common HTTP status code families. Here you learn what an HttpResponse gives you and how to check it before you use the body.2 min readHttp, HttpRequest and HttpResponse, and that you know HTTP status code families. A callout can fail in two different ways, and each needs different handling.2 min readTodoService.fetchTodo method from earlier chapters. It explains one rule that surprises many developers: you cannot make a callout while a transaction holds uncommi3 min readHttp, HttpRequest and HttpResponse. Here you will move a callout out of the current transaction and into asynchronous Apex.2 min readHttp, HttpRequest and HttpResponse, and that you know Apex test basics: @isTest, System.assertEquals, and Test.startTest()/Test.stopTest().2 min read