In this post, I will share my thought on how I like to structure methods on how to get data from your REST API backend. The idea here is to show th...
For further actions, you may consider blocking this person and/or reporting abuse
Great post. This makes me remember the functionalitys of packages HttpClient of PHP. This is very useful for simplify of the handle http request's. Thanks for the tutorial.
Cool! My experience with PHP is limited though. The inspiration is from my background doing C# and their httpclient class. Glad you liked it!
The C# HTTPClient is exactly what I was thinking about while reading this. Great post!
Its always good to look at other languages some times to find inspiration. Thank you!
Nice post
Thanks, glad you enjoyed it!
Nice way to use classes in JS, with
extends
Yeah, when looking at docs for classes all examples of extending is these things like animal extending to dog or car extending to Honda. So it is Nice with a more "real world" context for extending.
Oh, good tutorial. You save a lot my time 👍
Awesome! More time spent doing fun stuff
Nice article!
Thank you!
Nice article! The HttpClient in your example code is using "POST" for the the HTTP method when calling the "put" function on it. Great little wrapper around fetch, though. :)
Oh! Always good with an extra pair of eyes on your code, thank you :-)
Nice and cool
Thanks!