I try to create a node via a rest POST over Chrome's Postman using Drupal 8.2.3., but i always get a 403 access denied.

Can anyone point out a step-by-step how-to on the settings? Mainly regarding the permissions that need to be set accordingly.

I did obtains the token at /rest/session/token and added into the request header.

The Request was: MYURL.de/rest/node?_format=json. For your information: I created the service-endpoint /rest, and I also tried with: MYURL.de/node?_format=json, but the same result.

Can anyone drop me a hint?

closed as unclear what you're asking by mradcliffe, Pierre.Vriens, DRUPWAY, kenorb, Shawn Conn Nov 17 '17 at 19:02

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Your request need ?_format=json on the end of request.

  • Clear cache.

  • Delete all sessions, delete from sessions.

  • Call login service, /user/login?_format=json, method POST choose raw in Body and there put username and password in JSON format:

       "username": "value",
       "password": "value",

    and choose JSON (application/json).

    This service will return X-CSFR-TOKEN, use it for your request.

  • In my case was proxy the problem. Go to Settings > Proxy > Use system proxy (must be off) – Lucas Serafim Jul 24 at 14:21

Not the answer you're looking for? Browse other questions tagged or ask your own question.