PoorExcuse4aWebmaster
Banned - Abuse of Staff
- Sep 9, 2021
- 154
- 158
I've been google searching for hours. So I'm hoping that someone knows of a simple tutorial where I can get started on learning to use REST.
Do you know any programming language. Rest APIs are pretty much useless without a way to programmatically make http requests.I've been google searching for hours. So I'm hoping that someone knows of a simple tutorial where I can get started on learning to use REST.
Maybe you should specify what you want to achieve
Being able to send http requests is crucial - so maybe start there?
All REST is is an "API architecture". In simple words, it's a way to get data from a service's database that it makes available to its users over the internet.I figure the first thing I need to learn is ** What is REST** and how it's used
Thanks. I just quit everything to watch all of this. As I think it's pretty essential for my skill set tooHeres a course on freecodecamp.
I remember you mentioning about learning Php and Wordpress. If you found that useful, maybe you'd find this useful too.Thanks. I just quit everything to watch all of this. As I think it's pretty essential for my skill set too![]()
The payment processor for our subscription based site has an API that we need to use. Only they use something called ** REST ** and not only is this the first time I've heard of this.... It's also all new to me so I'm really in the dark on this. The payment processor's documentation is really poor.
I figure the first thing I need to learn is ** What is REST** and how it's used. Then I need to figure out how to use it.
I've got a good handle on html, CSS, PHP and Java so I'm not totally useless but I am slow to figure things out.
All REST is is an "API architecture". In simple words, it's a way to get data from a service's database that it makes available to its users over the internet.
Heres a course on freecodecamp.
Here's how to do it with php
https://www.google.com/amp/s/weichie.com/blog/curl-api-calls-with-php/amp/
P.s - do you know what JSON and HTTP verbs like GET,POST, PUT, DELETE are? If not. You will want to learn that too.
I remember you mentioning about learning Php and Wordpress. If you found that useful, maybe you'd find this useful too.
https://deliciousbrains.com/php-curl-how-wordpress-makes-http-requests/
Look at PSR
Ex:
https://datatracker.ietf.org/doc/draft-irtf-t2trg-rest-iot/
If you're not familiar at all with REST API's, my advice is to download Postman and start experimenting with it first. You will also be able to understand the basic notions behind REST API's.
"Play" in Postman with the HTTP requests that need to be sent to/ received from your Payment Processor API. This way you will understand the logic behind your payment processor's API. Then, move on to designing the app that will work with these requests in production. You can design it in your favorite programming language: Java, C#, Python, Javascript etc
Here it is a video that will help you in understanding Postman & the basic API's knowledge: