# Building a proper API

**URL:** <https://forum.kirupa.com/t/building-a-proper-api/324780>\
**Category:** Uncategorized\
**Created:** [September 8, 2011, 11:36am UTC](https://forum.kirupa.com/t/building-a-proper-api/324780 "2011-09-08T11:36:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerome\_chevreau](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@jerome\_chevreau](https://forum.kirupa.com/u/jerome_chevreau)\
**Post date:** [September 8, 2011, 11:36am UTC](https://forum.kirupa.com/t/building-a-proper-api/324780/1 "2011-09-08T11:36:28Z")

</div>

Hi there,

I am currently building an api which will grow as time progresses.  
for the moment the connection must be only be made by sending over POST var.  
eg. [site.com/api/file.php](http://site.com/api/file.php)

There is a whole bunch of check regarding the key which need to be sent over etc… and will generate a random token for each connection.

Is this right??

How can i make users go to **[site.com/something](http://site.com/something)** - i would like to avoid showing the .php.

I also heard of OAuth. do i really need to use it or not.

Thanks for all the help,

Regards,

Jerome
