Save a Support Request by ID with React
Guide Tasks
  • Read Tutorial
  • Watch Guide Video
Video locked
This video is viewable to users with a Bottega Bootcamp license

[00:00:00] Looking back to the right course scandal great to be implementing the same support request by any functionality superset. All we have to do is passing that safe and then post it to our server. So I'll post Matt here and I have this one with you 1 1 5 6 9 right here. If I may add the title here and just leave this doesn't need to be fixed ASAP anymore. And I said you will update it if I remove the page. Select the completed ones. It says this is broken so it's pretty magical but lets get it in application. Someone is coming this and then we implement this and where we want to pass the title body. What else. Let's click on one of these items we were Tytler body and we have some other things but we don't want to do that. We don't want to do the image thing so we'll just stick with title and body. Okay so let's go ahead and we leave the EU where the authorization and we need to call back so we can go back. So let's copy this title here. Let's go to our index digest and our actions and most in pointless export function pasted and it takes the same parameters as our Save newsletter or Wannsee or save our Save newsletter. So let's just copy this function and bring it down the verse printed below here and it seems support requests for what's the names function to save support request added slots copy Tyrones go back to our component here and place it right here. [00:01:55][114.8]
[00:01:56] Now let's say veterans go in here and copy this and put it right. You can get rid of this and we have that function. Okay. Pretty cool. Let's change this. You are out now to match our support. Quest slash Nady and this is simply genius and playsets on the server as you can see you set up your game Property Management Ruko slash support request and eight point passer Kokanee in the Hunter and we don't want to fetch your niece or our captain. We want to research our support requests so let's change that to fetch support requests. We are Colback we need to the callback in their requests and then we set the bar for this response callback callback. Let's say bad girl down here to our application. Lets go to support request lets get our requests. Now scroll down click on this click on the link and added the site. This is broken but not for long. Kiddle save it and see what happens. I would not be surprised if something breaks. Happens all that safe and while it actually works. I'm really surprised. So this worked. And we have added functionality in. Let's just go back and you'll notice that it's still has hour. Actually no good. Really great but since we didn't pass it in the journal it or I didn't at least over it. Basically there's no image it's just a blank screen now and that's why that's happening but we will fix that in the future to cancel restaffed care and everything's looking pretty chilled. Let's go ahead and commit our code and get into to the next guy status. Get a good I'm going to say seeds for. [00:04:17][141.4]
[00:04:18] Edit Actually and your eyes relax to make the appropriate changes from the back and all right let's go ahead and was talking to that next guy. See the. [00:04:18][0.0]
[256.2]