POST JSON With Bearer Token Authorization Header

An example of posting a JSON string with Bearer Token Authorization Header. The Bearer Token is sent to the server with the Authorization: Bearer {token} request header. The Accept: application/json header tells the server that the client expects a JSON string in response.
Loading...