What is REST call and how to send a REST call?

后端 未结 2 485
挽巷
挽巷 2020-12-13 09:51

I want to ask some questions about the REST call. I am the green for the REST call and I would like to like what is REST call and how to use the URL to send a REST call to t

2条回答
  •  萌比男神i
    2020-12-13 10:41

    REST is just a software architecture style for exposing resources.

    • Use HTTP methods explicitly.
    • Be stateless.
    • Expose directory structure-like URIs.
    • Transfer XML, JavaScript Object Notation (JSON), or both.

    A typical REST call to return information about customer 34456 could look like:

    http://example.com/customer/34456
    

    Have a look at the IBM tutorial for REST web services

提交回复
热议问题