Answer the question
In order to leave comments, you need to log in
Symfony2 Rest API - NGINX secure_link - how to create routes correctly?
Now I'm dealing with REST APi through FOSRestBundle and simple routes are generated there, like:
site.ru/photo/{id}
site.ru/photo/{alias_name}/{expire}/{sequre_hash}
Answer the question
In order to leave comments, you need to log in
I used to do something like this:
site.ru/photo/{id}?e={expire}&s={sequre_hash}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question