Database Reference
In-Depth Information
The first section has a textbox, a drop-down menu (with
POST
selected), and two buttons
(
URL params
and
Headers
). This section is used to specify the information about the en-
dpoint URL and the request method.
Clicking on the
Headers
button will open the second section, which is used to specify the
header information. Here, we are adding six header elements as shown in the preceding
screenshot.
The third and last section is used to provide the request body for the request. We can
provide this as XML, text, or JSON. Whichever data format we choose, the body must be
of the correct type. If we choose the wrong data format (or incorrect body content), the re-
quest will not reach the endpoint, and it will result in an error, which we will discuss in
the next section.