You can do with only get_post_type() === 'slug_post_type'. By convention, the name of the handler method is selected based on the value of the handler parameter according to the scheme OnPost[handler]Async. Any suggestions? First we'll import our requests library. Post data means like form