# Http requst for token

**URL:** <https://discourse.nodered.org/t/http-requst-for-token/81007>\
**Category:** General\
**Created:** [3 September 2023 15:06 UTC](https://discourse.nodered.org/t/http-requst-for-token/81007 "2023-09-03T15:06:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![khfischbach](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/khfischbach/32/16627_2.png) [@khfischbach](https://discourse.nodered.org/u/khfischbach)\
**Post date:** [3 September 2023 15:06 UTC](https://discourse.nodered.org/t/http-requst-for-token/81007/1 "2023-09-03T15:06:57Z")

</div>

The documentation of the api uses curl to show how to obtain a topken:

`curl http://localhost:1880/auth/token --data 'client_id=node-red-admin&grant_type=password&scope=*&username=admin&password=password'`

Now I would like to run this from a browser. Can someone help me to convert the example to a URL with method=post?

Thanks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [2 November 2023 15:07 UTC](https://discourse.nodered.org/t/http-requst-for-token/81007/2 "2023-11-02T15:07:36Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
