Add support for POST

segfault when many requests