# \#post

**URL:** https://forum.elixirforum.com/tag/post/2239.md

[Latest](https://forum.elixirforum.com/latest.md) · [Categories](https://forum.elixirforum.com/categories.md) · [Tags](https://forum.elixirforum.com/tags.md)

---

## [Why doesn't my template get rendered when I post from JavaScript?](https://forum.elixirforum.com/t/why-doesnt-my-template-get-rendered-when-i-post-from-javascript/43288)

<div class="topic-metadata">

**Author:** [@tadasajon](https://forum.elixirforum.com/u/tadasajon)\
**Replies:** 3\
**Last updated:** [October 22, 2021, 9:40pm UTC](https://forum.elixirforum.com/t/why-doesnt-my-template-get-rendered-when-i-post-from-javascript/43288 "2021-10-22T21:40:55Z")

</div>

I have a function called create(conn, params) in my controller that gets called when some data is posted to my server from a form on the client – the form was built using Phoenix templates. All I do is extract some data…

---

## [How to post data in a url](https://forum.elixirforum.com/t/how-to-post-data-in-a-url/39645)

<div class="topic-metadata">

**Author:** [@VincentBlackdot](https://forum.elixirforum.com/u/VincentBlackdot)\
**Replies:** 7\
**Last updated:** [May 13, 2021, 12:23am UTC](https://forum.elixirforum.com/t/how-to-post-data-in-a-url/39645 "2021-05-13T00:23:36Z")

</div>

how do i post data to a url with its parameters eg www.sendmessage.com/client/xml/send?client&pass&message&phone i want to pick the fields client, pass, message and phone from the db and pass them to a function like d…

---

## [Please help me to convert curl request to tesla post request](https://forum.elixirforum.com/t/please-help-me-to-convert-curl-request-to-tesla-post-request/37509)

<div class="topic-metadata">

**Author:** [@elixirdev](https://forum.elixirforum.com/u/elixirdev)\
**Replies:** 1\
**Last updated:** [February 12, 2021, 8:39pm UTC](https://forum.elixirforum.com/t/please-help-me-to-convert-curl-request-to-tesla-post-request/37509 "2021-02-12T20:39:05Z")

</div>

here is the curl request: curl -v POST 'URL\_OF\_API' \\ -H 'Accept: application/json' \\ -H 'Authorization: Bearer TOKEN' \\ -F 'listing={"products": \[{"row": "DD","seat": "13","name": "1-61c171f5-4a96-4c5e-bf2c-07e965b0f9cc…

---

## [\*\* (ArgumentError) assign @templates not available in eex template](https://forum.elixirforum.com/t/argumenterror-assign-templates-not-available-in-eex-template/36823)

<div class="topic-metadata">

**Author:** [@VincentBlackdot](https://forum.elixirforum.com/u/VincentBlackdot)\
**Replies:** 1\
**Last updated:** [January 13, 2021, 10:34pm UTC](https://forum.elixirforum.com/t/argumenterror-assign-templates-not-available-in-eex-template/36823 "2021-01-13T22:34:49Z")

</div>

i have two schemas of which templates belong to users. but when creating a template i receive iex\> \[error\] pid\<0.15384.0\> running SmartcomClientWeb.Endpoint (connection pid\<0.15383.0\>, stream id 1) terminated Server: …

---

## [No function clause matching in SmartcomClientWeb.TemplateController.create/2](https://forum.elixirforum.com/t/no-function-clause-matching-in-smartcomclientweb-templatecontroller-create-2/36805)

<div class="topic-metadata">

**Author:** [@VincentBlackdot](https://forum.elixirforum.com/u/VincentBlackdot)\
**Replies:** 5\
**Last updated:** [January 13, 2021, 10:18am UTC](https://forum.elixirforum.com/t/no-function-clause-matching-in-smartcomclientweb-templatecontroller-create-2/36805 "2021-01-13T10:18:37Z")

</div>

hi i am using ajax to post data to my db, but keep running into this error. no function clause matching in SmartcomClientWeb.TemplateController.create/2 this is my is my ajax code $("#push\_data").click(function() { …

---

## [No function clause matching UserController.create Method when POSTing](https://forum.elixirforum.com/t/no-function-clause-matching-usercontroller-create-method-when-posting/35746)

<div class="topic-metadata">

**Author:** [@marcz2007](https://forum.elixirforum.com/u/marcz2007)\
**Replies:** 5\
**Last updated:** [November 25, 2020, 9:07pm UTC](https://forum.elixirforum.com/t/no-function-clause-matching-usercontroller-create-method-when-posting/35746 "2020-11-25T21:07:29Z")

</div>

I am trying to post a test user account to the users table in the repo but I am getting the ‘no function clause matching’ error for some reason. I have tried POSTing on both curl and Postman with the same results. Here …

---

## [Handling a POST request with Elixir](https://forum.elixirforum.com/t/handling-a-post-request-with-elixir/30088)

<div class="topic-metadata">

**Author:** [@KekKekington](https://forum.elixirforum.com/u/KekKekington)\
**Replies:** 2\
**Last updated:** [March 27, 2020, 6:49pm UTC](https://forum.elixirforum.com/t/handling-a-post-request-with-elixir/30088 "2020-03-27T18:49:14Z")

</div>

I finished setting up a static website using nginx. The site has a ‘Contact Us’ form that I enabled with one of those ready-to-go solutions. I saw an opportunity here to improve my understanding of web services, since I’…
