This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

Last Three Year's Trending Top

BillBryson
I have an Elixir application that uses Phoenix for the interface. This application has a contact form that needs to be embedded in other ...
New
sijibomi
Hi everyone. I’m trying to fetch the body of a post request and I keep getting Plug.Conn.Unfetched This is what I have in my route handl...
New
tompave
UPDATE: I originally forgot to mention that my MainPlug is a Plug.Router. I only realized it while responding to Overmind, below. I've no...
New
quda
I am building a simple http server using Plug.Cowboy (no Phoenix pls!) to serve a json API for a customer. A microservice. The problem ...
New
pmjoe
Does anyone know any good example of web applications without Phoenix? I think Elixir is so damn simple, but every time I create a Phoeni...
New
iamacube
:wave:t3: I want to understand the reason of constructing an improper list usage in the elixir-plug repository, Line 256 First Questio...
New
hawkyre
I know Phoenix has mix phx.routes and Phoenix.Router.routes(), but I’ve been researching for a bit and couldn’t find any information or p...
New
Phillipp
Hey, is there a way to configure Plug.Static at runtime (right after boot)? I have a usecase where the location of the files and the de...
New
jschaeff
I’ve implemented a module implementing the behaviour of Plug.Parsers From the doc I followed, my parse/5 callback returns {:ok, params,...
New
jschaeff
Hello, I’m writing my first Elixir program and I’ve managed to to the hardest part of it, but I’m stuck at the ultimate stage and I need...
New
user20230119
I needed to send a dynamic JavaScript file generated with HEEx with mime-type text/javascript because Chrome refused to execute script fr...
New
ritchiey
Hi All. Is the Plug Guide right when it says that the Head plug converts HEAD requests to GET requests and strips the response body ...
New
hawkyre
I have a cowboy server that has had a normal API where I use plug, and I use plug to encode and decode the request’s user session. Howeve...
New
stuartc
I’m trying to generate a stream of JSON from an Ecto stream to be sent out via send_chunked/2 and chunk/2. It appears that all the JSON ...
New
ekevu123
Hey, when adding plausible.io analytics to my elixir application, how can I make it happen via module, so that all page views will be tra...
New

Trending Over Three Years Top

benonymus
Hey besically the title says it, I am trying to send a file to my elixir api and, i just noticed that in the router it has this plug: pl...
New
dimitarvp
I’m looking into returning JSON errors from an API app. I know the specs dictate you must always return HTML on certain error codes but I...
New
wfgilman
I am getting closer to putting my Elixir backend API in production and have a question about logging. Currently when a 500 error occurs i...
New
LeakyBucket
I have a question about getting consistent access to the Request Body in Plug. According to the documentation for Plug.Conn.read_body th...
New
phtrivier
I’m trying to use https://hexdocs.pm/plug/Plug.Test.html to write a test for a very simple Plug, that has to access a query parameters. ...
New
Gyllsdorff
The Plug.init/1 method gets called during the compile step and not during the startup like I thought, is there someway to update a plugs ...
New
deadtrickster
Request: headers + body (lazy read?)? Response: headers + body, but what about files? They are handled by cowboy directly and no after_se...
New
polypush135
I’m trying to force all http request to redirect to https. In short I have added the below to my endpoint config. url: [host: "localh...
New
ringods
Hello, To handle the upload of really large files, the creation of the intermediate Plug.Upload file is too slow for me. In the Plug/Pho...
New
navaneeth
I have 2 long running Elixir applications. I have another phoenix application which acts like a dashboard for these 2 applications. In...
New
hubertlepicki
Hey all, I have a slightly unusual problem. One of our clients has a public API, that is built on Elixir / Phoenix / Postgres. I am thi...
New
ceo_of_programming
Hi! My self-signed certificate is rejected by browsers and curl. The problem: On curl I get the error: curl: (52) Empty reply from serv...
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
rlipscombe
I’m using plug (without Phoenix), and I’ve got a router that contains something like the following: get "/users/:user_id/favorites" do ...
New
wlminimal
Hello~ I don’t save too much in session. Why am I getting this error? I don’t know where to find a bug in my code. can anyone give me...
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