scroll

HTTP Header

When using the GET or POST Method, a value must be specified for the parameter of the HTTP Header.

X-porters-hrbc-oauth-token

When using the GET or POST Method, the Access Token of OAuth must be specified for the HTTP Header.

Specify the Access Token in the following format.

X-porters-hrbc-oauth-token:[Access Token]

 

Content Type

When using the POST Method to specify XML for the Request Body, the Content Type must be specified.

The charset must also be specified. The currently supported charset is UTF-8 only.

Most of the Write APIs should be specified in this format.

Content-Type:application/xml; charset=UTF-8

 

When using the POST Method to specify a URL-Encoded string for the Request Body, the Content Type must be specified.

The Token API that is used for authentication should be specified in this format.

Content-Type:application/x-www-form-urlencoded

 

X-P-ConnectAPI-Version

By specifying the Version in the HTTP Header, the latest version can be used.

Currently the latest version is 2. Link Type items are available.

 

If you wish to use Version 2, specify it in the following format.

X-P-ConnectAPI-Version: 2

 

Was this article helpful?
0 out of 0 found this helpful