POST requests without a resource are not currently supported by the 'password' service

Hi guys, I’m very new in DF and DF forum, but glad to know that have others struggling by here.

I’m send this POST with REST API chrome plugin:

URI:

http://127.0.0.1/rest/user/password

Header:

X-Dreamfactory-Application-Name: admin

Body:

{
  "email": "user@domain.com",
  "reset": true
}

Content-Type: application/json

But receiving this response:

message: "POST requests without a resource are not currently supported by the 'password' service."
code: 400

Using Windows 8.

am I missing something?

Thank you guys!

Well, seems that I really was missing something.
There was some changes with the DF 2. So the request become:

URI:

http://127.0.0.1/api/v2/user/password?reset=true

No header

Body:

{
  "email": "user@domain.com"
}

Content-Type: application/json

All fine now. =D

Thanks for documenting your fix. This REST path change, along with some others, was documented here: http://wiki.dreamfactory.com/DreamFactory/Tutorials/Upgrading_Your_App

1 Like