Latest #plug-router Threads Top

afomi
After doing this a 3rd time, I packaged a small library; a plug that deflects common sources of invalid traffic before it hits the router...
New
beltrewilton
Hey fellow devs, This is my first post in this awesome community, and I’m excited to share my project with you all. As a newbie, I’d lov...
New
adarsh1021
My current authentication system looks like this: On entering username and password, the login endpoint is called (not a form action) t...
New
newton-peixoto
Hello everyone, is it possible to dispatch a request to a specific module using plug.router? Phoenix does it using its own macros but I’d...
New
Rodeoclash
I have a kind of unusual situation (I’m probably doing something wrong) where I’d like to parse a URL with the router manually. The cont...
New
ndrean
I have an Elixir server and I “post” some data to an endpoint in order to broadcast this data with SSE. For the moment, I haven’t conn...
New
LionelMarco
I have a Plug with many functions that return a parameterized anonymous function, for example: def scaling(vmin,vmax) do fn value -&g...
New
LionelMarco
Hi, I am starting with Plug.Conn and Tests. Just for learning, my app have the next route: post "/ping" do {:ok, str} = Jason.e...
New
johmue
Two questions in short version The :router option of live_render/3 has disappeared from the docs in 0.17.6. In 0.17.10 it still seems t...
New
gazzer82
Hi Folks, I am trying to add a custom authorisation plug to my router, and I am getting an error in VSCode for the following code, and I...
New

This Week's Trending Top

beltrewilton
Hey fellow devs, This is my first post in this awesome community, and I’m excited to share my project with you all. As a newbie, I’d lov...
New

This Month's Trending Top

This Year's Trending Top

afomi
After doing this a 3rd time, I packaged a small library; a plug that deflects common sources of invalid traffic before it hits the router...
New

Last Three Year's Trending Top

Exadra37
This is a copy/paste of my question in StackOverflow, but once we have an amazing community, I thought to also put it here :slight_smile...
New
adarsh1021
My current authentication system looks like this: On entering username and password, the login endpoint is called (not a form action) t...
New

Trending Over Three Years Top

stratacast
I feel really dumb asking this, but I’ve bopped all over the internet, tried various things, and checked out some posts on this and I’m p...
New
simonsmith
I am trying to embed a live view based form in a normal web page so I can get the nice validation etc. I am hitting the warning on :not_m...
New
Sanjibukai
Hi everybody, I just saw in the router doc page the following: Routes can also match glob-like patterns, routing any path with a commo...
New
Fl4m3Ph03n1x
Background I have a Plug Router that has some simple endpoints. One of these endpoints is a put method that receives a JSON body. I want ...
New
Sanjibukai
Hi everybody, I wanted to know if we can have constraints in the route level. I mean defining a route with some constraints (based e.g. ...
New
kevinlang
Hey all, I created a library that allows you to easily add Cowboy websockets to your Plug.Router. Check out the docs! Check out the co...
New
sanals
Hi, I am new to elixir. I have a web app in elixir which is not done by me. I am finding it difficult to understand the code. When ever ...
New
johmue
Two questions in short version The :router option of live_render/3 has disappeared from the docs in 0.17.6. In 0.17.10 it still seems t...
New
i-n-g-m-a-r
From the docs about Actions and live navigation: :metadata - a map to optional feed metadata used on telemetry events and route info f...
New
nicksanders11
Hi, I upgraded to Plug 1.9.0 from 1.8.3 and now my tests are failing with the error below (Plug.Conn.InvalidQueryError) invalid UTF-8 o...
New
ndrean
I have an Elixir server and I “post” some data to an endpoint in order to broadcast this data with SSE. For the moment, I haven’t conn...
New
Rodeoclash
Is anybody aware of any libraries for Phoenix that deal with bots sending malformed URLs? Here’s an example: [Phoenix.Router.MalformedU...
New
vitalydolgov
When I pry into macro (get, post, match, etc.) I see conn and opts, which is always an empty list for me. In def call(conn, state) I see ...
New
LionelMarco
I have a Plug with many functions that return a parameterized anonymous function, for example: def scaling(vmin,vmax) do fn value -&g...
New
newton-peixoto
Hello everyone, is it possible to dispatch a request to a specific module using plug.router? Phoenix does it using its own macros but I’d...
New
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement