Needs review
Project:
RESTful Web Services
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Oct 2011 at 04:42 UTC
Updated:
22 Apr 2015 at 03:11 UTC
Jump to comment: Most recent
Comments
Comment #1
klausiNo, that does not work. content/welcome.json is not registered as URL alias, so you would have to add an URL alias "content/welcome.json" that points to "node/2.json". That works :-)
Comment #3
Sjarsena commentedI did what you said. I have article/example.json and node/2.json and I still get nothing when trying to get the node using URL alias.
Comment #4
alibama commentedthat's not a great solution - I'm thinking perhaps we might be able to use rules to create that? I'll test and get back on it
Comment #5
jaskaran.nagra commentedNeeds to be reopened....
Comment #6
jaskaran.nagra commentedReopening ... Not fixed
It seems pretty straight forward though.. just need to call drupal_get_normal_path() IMO on the alias before the processing begins....
Comment #7
jaskaran.nagra commentedI have written a module, which is currently in sandbox stage, for this.
https://www.drupal.org/sandbox/jaskaran.nagra/2470461
Please review and help towards making it a full project.
https://www.drupal.org/node/2470483
Comment #8
alibama commentedi'll test in the next couple hours - thanks jaskaran.nagra!
Comment #9
jaskaran.nagra commented