replacing separate get/post with one request method
escaped curly brace in regexp