POST /company/websites/@id/pages
This endpoint requires authentication.
Header | Value |
---|---|
Authorization | Set the value to Bearer + + access_token |
Replace the @ keywords in the URL with their corresponding value.
A dictionary with fields
Field | Type | Description |
---|---|---|
id | Int | The ID of the website you want to create a page for |
Pass the following properties via application/json or form encoding in the body of the request.
A dictionary with fields
Field | Type | Description |
---|---|---|
name | String | A String value |
url | String | A String value |
language | Language | 2 letter ISO representation of a language in lowercase |
country | Country | 2 letter ISO representation of a country (string) |
POST /company/websites/18/pages HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.8.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 82
{
"name": "...",
"url": "...",
"language": "nl",
"country": "BE"
}
A dictionary with fields
Field | Type | Description |
---|---|---|
id | Int | An integer value |
url | String | A String value |
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 34
{
"id": 12,
"url": "..."
}