I’ve followed the documentation for user logout using REST API, but it doesn’t seem to work.
I did some research online and it seems that sometimes, we should use POST to log the user out?
I’ve tried GET ALL and GET, but both returned errors. For the latter, an ID must be specified so I used the user’s objectID, but still can’t.
I’ve even tried POST, but to no avail.
This is the error that’s coming back:
Error: SyntaxError: Unexpected end of JSON input
Can’t seem to get an answer from Stackoverflow or anywhere else too.
Anyone has any idea?
Thank you in advance