Problem API V8 create acccount


I’m trying create account using an example in, but I’m getting error

    "errors": {
    "status": 400,
    "title": null,
    "detail": "The required option \"data\" is missing."

My request looks like this:

POST https://xxx/Api/V8/module
Authorization: Bearer XXX

      "data": {
        "type": "Accounts",
        "attributes": {
          "name": "Test account"

Does anyone know what I’m doing wrong?

Thank you

Just in case anyone comes across this in the future, issue was raised & investigated here:

Looks like the issue was a missing content-type header.

Thanks for getting in touch femoz! :slight_smile: