<p>Trying to use a guid as a resource id in a rest url but cant find any resource on how to.
My best right now (not working though) is:
<a href="http://localhost:49157/PhotogalleryDS.svc/gallery" rel="nofollow noreferrer">http://localhost:49157/PhotogalleryDS.svc/gallery</a>('1d03beb3-6d63-498b-aad7-fab0b1480996')
(I've tried duouble/single quotes. And also {guid....} with braces. Still no luck.</p>

<p>i only get:


Syntax error '"' at position 0.
</p>

<p>Question is: How would I (with regard to specification) write the url for a resource where the id is a guid?</p>

[{'answer_id': 26975, 'author': 'Ryan Ahearn', 'author_id': 75, 'author_profile': 'https://Stackoverflow.com/users/75', 'pm_score': 0, 'selected': False, 'text': "<p>My best guess based on what you've written is that you're wrapping that URL in double quotes.  The position 0 in that error message probably refers to the character directly before http</p>\n"}, {'answer_id': 129235, 'author': 'elgrego', 'author_id': 403, 'author_profile': 'https://Stackoverflow.com/users/403', 'pm_score': 2, 'selected': True, 'text': '<p>I figured it out!</p>\n\n<p><a href="http://localhost:49157/PhotogalleryDS.svc/photo(guid" rel="nofollow noreferrer">http://localhost:49157/PhotogalleryDS.svc/photo(guid</a>\'01231cc7-1e26-4f33-9fdf-fdf7015267dd\')</p>\n\n<p>This is the way</p>\n'}]
['https://Stackoverflow.com/questions/26854', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/403/']