Referencing this tutorial, I am trying to create a page with RESTful API:
{
"_links":{
"type":{
"href":"http://www.example.com/drupal/rest/type/node/page"
}
},
"title":[
{
"value":"My first page"
}
]
}
The POST request is: http://203.80.250.46/drupal/entity/node
The POST request headers are:
- Content-Type: application/hal+json
- PHP_AUTH_USER: (admin_username)
- PHP_AUTH_PW: (admin_password)
But Drupal responded with: 403 Forbidden (Access Denied in response HTML)
Drupal 8 is installed at: http://www.example.com/drupal/
Enabled: HAL, HTTP Basic Authentication, RESTful Web Services, Serialization, REST UI
What did I miss?