Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Flex's avatar
Level 4

what is RESTFUL API?

hello, I need to understand what is restful api and , important of apis and some examples of restful api. and some body know good tutorials links how to develop restful apis using laravel please post links here.

Thanks.

0 likes
9 replies
scheMeZa's avatar

REST, which some architects view as a simpler alternative to Simple Object Access Protocol (SOAP) and Web Services Description Language Web services, has become a popular Web application program interface (API) model over the years. A RESTful API, or RESTful Web service, uses both HTTP and REST.

scheMeZa's avatar

@FLEX - JWT is a method of authenticating a user to use your API.

JWT: JSON Web Tokens does what it says, it uses a token associated to a user to authenticate.

Therefor REST isn't similar to JWT, but rather two different things.

Flex's avatar
Level 4

@hdsavani I did your tutorials. but when I test

GET, URL:http://localhost:8000/oauth/token

it is get following error msg There was an error connecting to GET,%20URL:http://localhost:8000/oauth/token.

what is the problem? may I should insert data to tables?

hdsavani's avatar

@Flex You have to make it POST Request. Can you try with POST Request?

farukgaric's avatar

Simply put, REST API provides an interface for Web applications or applications that need to connect to each other via the Internet to communicate.

I have written an article about what is rest and why I think it is the next big thing in IT industry.

Please or to participate in this conversation.