# When POSTing, does the argument need to be called args?

**URL:** <https://community.particle.io/t/when-posting-does-the-argument-need-to-be-called-args/23798>\
**Category:** General\
**Created:** [June 17, 2016, 11:40pm UTC](https://community.particle.io/t/when-posting-does-the-argument-need-to-be-called-args/23798 "2016-06-17T23:40:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mprogers](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/mprogers/32/18458_2.png) [@mprogers](https://community.particle.io/u/mprogers)\
**Post date:** [June 17, 2016, 11:40pm UTC](https://community.particle.io/t/when-posting-does-the-argument-need-to-be-called-args/23798/1 "2016-06-17T23:40:17Z")

</div>

When I’m POSTing so that I can trigger a firmware function, it doesn’t seem to matter what I call my argument – args, params, or maurice (I just tried that for fun) – everything seems to be getting funneled into the String parameter in my function. Is that correct, that the name args is just a convention? I did notice that if I misspelled access\_token, that did not work.

If this is indeed the case, I recommend that they mention the fact in the docs…

---

<div class="post-metadata">

**Author:** ![bko](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/bko/32/20704_2.png) [@bko](https://community.particle.io/u/bko)\
**Post date:** [June 18, 2016, 1:10am UTC](https://community.particle.io/t/when-posting-does-the-argument-need-to-be-called-args/23798/2 "2016-06-18T01:10:03Z")

</div>

Since a Particle function can only ever take exactly one string argument, whatever you call it the value is just passed. So feel free to use “maurice” or “args” or whatever you like.

I don’t think this really needs to be doc’ed because then it could become a limitation if someday Particle functions can take more than one argument. For now just think of it as a benevolent bug–it doesn’t hurt anything.

---

<div class="post-metadata">

**Author:** ![mprogers](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/mprogers/32/18458_2.png) [@mprogers](https://community.particle.io/u/mprogers)\
**Post date:** [June 18, 2016, 1:53am UTC](https://community.particle.io/t/when-posting-does-the-argument-need-to-be-called-args/23798/3 "2016-06-18T01:53:42Z")

</div>

OK, thanks, bko, for your reply. I’ll just squirrel that factoid away, that the actual name of the argument is irrelevant.

---

<div class="post-metadata">

**Author:** ![Moors7](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/moors7/32/588_2.png) [@Moors7](https://community.particle.io/u/Moors7)\
**Post date:** [June 18, 2016, 6:41am UTC](https://community.particle.io/t/when-posting-does-the-argument-need-to-be-called-args/23798/4 "2016-06-18T06:41:16Z")

</div>

On a similar note, `int functionName(String command)` also doesn’t require you to use ‘command’, which took me some time to figure out 😉
