Go REST
M

error : {message: 'Resource not found'}

Misterios Person almost 2 years ago 3324 views 3 replies

when I try to get by id a post that I created or uptated I'm getting the error: {message: 'Resource not found'}.
The posts exists, I checked, the service work because it works for the other existing posts, excepting the ones I create or update... In the REST console here it works too, but on local no, any ideas?

3 replies
S
SkyFoxCoder almost 2 years ago

To retrieve a specific post, you have to use the public/v2/posts/<post_id> endpoint, it is not under the users.
I've tested and it is working properly.

Z
zeevy almost 2 years ago

For our own created/modified data you need to pass access token, without it you will only get public data

M
Misterios Person almost 2 years ago

zeevy, that access token is different to the one I use to the other endpoints? how do i get it?

skyFoxColder. it works, for everything but created/modified data as zeevy indicates

Your reply

Markdown supported