Hi this was informative video, if we are mocking the rest template using mockito how can be done for rest template exchange method for both get and post method.
It's the information that the client should know - what response type is going to be returned by the service it is calling. So you can say it's part of the request that's telling the server that, give me this "content-type" and if the server has the same type then it returns otherwise there is an exception. I hope it's clear now :)
@Roshan I have explained the object part also. The purpose here is to explain the different ways to catch the response. In string also we are getting the JSON which can be useful in certain scenarios. I hope it's clear now. Please let me know if you didn't get the answer to what you are asking.
For now, I don't have the code for this but below link can help u for integration of angular and spring boot --- www.devglan.com/spring-boot/spring-boot-angular-8-example
Hi Aman, Just uploaded the REST API validation video series - ruclips.net/p/PLq3uEqRnr_2EjFzGspecJgPvWRU8jrT31 Let me know if this is the same that you were looking for.
That's very sad to hear...if it's about speed u can slow it down from settings of video...and cool down ..take a deep breath....note down the points you are confused and start over...I am sure it will help
Been searching for long time nd u got me understood in easiest way
Thanks
Happy to help
Perfectly explained to the point, thanks a lot bro!!
Thank you for the video! This is what I needed
Learn a lot from you. Thank you
Great explanation, thank you very much!
Thanks a lot. your explanation is very clear.
Very well explained. Thanks))
Glad it was helpful!
Very well explained video!! :)
Hi this was informative video, if we are mocking the rest template using mockito how can be done for rest template exchange method for both get and post method.
informative video. Thank you for sharing your knowledge. Can you please do a video on how to use basic authentication with RestTemplate? Thank you
The below link can help for Authorization
www.baeldung.com/how-to-use-resttemplate-with-basic-authentication-in-spring
Sir you have set the header in request or in response body???
It's the information that the client should know - what response type is going to be returned by the service it is calling. So you can say it's part of the request that's telling the server that, give me this "content-type" and if the server has the same type then it returns otherwise there is an exception.
I hope it's clear now :)
nice explanation,please show one payment gateway integration example
Can we use resttemplate to use 3rd Part API? Let's say I built a web app then I want to use Twitter API, is that the use of resttemplate?
Can we create multiple request Mapping with in the loop instead of writing all methods explicitly.
Thanks a lot! god bless you!!
Great video
Glad you enjoyed it
Thanks for the video. Can you show same with WebClient? I believe RestTemplates are deprecated so WebClient will be used more.
How is Web Client? Would you use it over Open Feign?
Can we use some other user defined class instead of string.class?
all 3 rest template method.. which one have to use???
The purpose is same just slight difference in internal implementation. Use it as per the usecas.
Here the response is object but why have you taken it as String?
@Roshan I have explained the object part also. The purpose here is to explain the different ways to catch the response. In string also we are getting the JSON which can be useful in certain scenarios.
I hope it's clear now. Please let me know if you didn't get the answer to what you are asking.
Thank-You nice video
Can you please provide any real time example for using rest template
Take a look at this video
ruclips.net/video/g8C0Z-seFEw/видео.html
Can we call webservlet from rest template
Bro, how to configure two way ssl where swagger ui is client and spring boot api is server? Could you please help me out.
Haven't done that recently Ashish.
Very useful
how to communicate to Angular plz suggest me
For now, I don't have the code for this but below link can help u for integration of angular and spring boot ---
www.devglan.com/spring-boot/spring-boot-angular-8-example
Please next time eclipse screen should be make white background other wise it will not visible
Already taken care...its not there in later videos
Thanks very much
learn by doing
How you are calling that method .. bro .. I didn't get
Why GET request is having content-type ?
This is for service that is being called
Please uploade rest API validation video
Thanks brother for topic suggestion. I have added this into to do list.
Hi Aman,
Just uploaded the REST API validation video series -
ruclips.net/p/PLq3uEqRnr_2EjFzGspecJgPvWRU8jrT31
Let me know if this is the same that you were looking for.
Why GET method has contentType
What's the problem with that?? Even get method will have some return type and that has to be specified in content type.
please help i am finding it really hard
I had to stop it. its really impossible to continue.
I am totally new
ankit mishra
Change ide ,not visible and not interesting
thanks brother for the feedback
YOU ARE EXTREMELY FAST . FIRST ALL I AM CONFUSED. AFTER SEEING YOUR VIDEO I FORGOT EVERYTHING. I LOST CONFIDENCE .
That's very sad to hear...if it's about speed u can slow it down from settings of video...and cool down ..take a deep breath....note down the points you are confused and start over...I am sure it will help
sab dimag ke upr se ja rha hai
take a deep breath brother, one step a time.
Same feeling with most of us at first.