API Endpoint Example [PHP Code]

An example of API endpoint. The API endpoint is end of a communication channel. In this example, the API endpoint is the https://reqbin.com/echo/get/json to which the request will be sent. The PHP code was automatically generated for the API Endpoint example.
API Endpoint Example [PHP Code] Send
GET /echo/get/json HTTP/1.1
Host: reqbin.com