Extract StringPostRequest to handle the post request