Active
Project:
Flag Service
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Jun 2011 at 03:18 UTC
Updated:
24 Oct 2014 at 12:17 UTC
Jump to comment: Most recent
This is probably user error, but I'm having trouble getting the services integration to work.
My URL looks like this:
http://www.example.com//node//flag.json
When I call that from my mobile app, I get a 401 error in POST.
Are the permissions somewhere that need to be set? Am I calling the method correctly?
Thanks for any help you can provide.
Comments
Comment #1
sjancich commentedMy tags got stripped....the URL I'm hitting is
http://www.example.com/endpoint/node/nid/flag.json
Comment #2
quicksketchThe Services integration has been moved to a separate project (Flag Service).
Comment #3
ziobudda commentedThe problem is here again.
When I exec a post to flag/flag action with this parameter :
where restfulService.flagNode is
I receive this error:
401 Unauthorized: CSRF validation failed
I'm sure that I have not this problem because in the same site I can insert comment via services without problems.
Where is the error ?
I'm using Drupal 7 with services 3.5
M.
Comment #4
ziobudda commented