This Week's Trending
This Month's Trending
This Year's Trending
Last Three Year's Trending
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
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
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
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
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
:wave:t3:
I want to understand the reason of constructing an improper list usage in the elixir-plug repository, Line 256
First Questio...
New
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
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
I’ve implemented a module implementing the behaviour of Plug.Parsers
From the doc I followed, my parse/5 callback returns {:ok, params,...
New
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
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
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
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
I’m trying to test my API endpoints that communicate with a docker container SQL. When running insomnia calls, the api behavior is fine, ...
New
I have added this to my router
plug(Plug.Parsers,
parsers: [:json],
pass: ["*/*"],
json_decoder: Jason
Now in my post...
New
Trending Over Three Years
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
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
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
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
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
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
Request: headers + body (lazy read?)? Response: headers + body, but what about files? They are handled by cowboy directly and no after_se...
New
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
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
I have 2 long running Elixir applications. I have another phoenix application which acts like a dashboard for these 2 applications.
In...
New
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
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
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
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
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
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
Sub Categories:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #ash-questions
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #discussion
- #javascript
- #elixirconf
- #library
- #oban-questions
- #dialyzer
- #docker
- #onsite
- #authentication
- #podcasts
- #full-time-contract
- #umbrella
- #code-sync
- #ecto-query
- #phoenix_html
- #iex
- #graphql
- #genstage
- #elixir-ls
- #nerves-questions
- #podcasts-by-brainlid
- #supervisor
- #websockets
- #distillery
- #advent-of-code
- #blog-post
- #livebook-questions
- #processes
- #forms
- #api
- #metaprogramming







