# Flask POST,GET api creation

**URL:** <https://discuss.huggingface.co/t/flask-post-get-api-creation/102698>\
**Category:** Spaces\
**Created:** [August 16, 2024, 10:48pm UTC](https://discuss.huggingface.co/t/flask-post-get-api-creation/102698 "2024-08-16T22:48:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![omarmfarag](https://avatars.discourse-cdn.com/v4/letter/o/e9a140/32.png) [@omarmfarag](https://discuss.huggingface.co/u/omarmfarag)\
**Post date:** [August 16, 2024, 10:48pm UTC](https://discuss.huggingface.co/t/flask-post-get-api-creation/102698/1 "2024-08-16T22:48:59Z")

</div>

i was trying to make an API for my ml but i cant change methods to post does hugging face only allow get requests?? i hope im doing something wrong because i wasted 2 days trying to deploy my model and get stuff to work 😕 just to find out i cant send POST requests to hugging face
