-
Just a doubt about how can I get the full url address including parameters? In the documentation I have seen that I can get current address without parameters like this:
But I didn't see any mention about how to get the full address including parameters. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Yes, only the For now you can get the parameters with database logging |
Beta Was this translation helpful? Give feedback.
-
Any way I can do this with sql / pgsql? |
Beta Was this translation helpful? Give feedback.
-
Finally solved this temporarily until I can access to the full url through params. I modified the nginx proxy to add the full url with parameters to a custom header, and then accessing to that through postgrest is easy: nginx: pgsql: |
Beta Was this translation helpful? Give feedback.
Finally solved this temporarily until I can access to the full url through params. I modified the nginx proxy to add the full url with parameters to a custom header, and then accessing to that through postgrest is easy:
nginx:
proxy_set_header Custom-Header §uri?§args;
pgsql:
current_setting('request.headers', true)::json->>'custom-header)