diff --git a/src/rpc/webhook.h b/src/rpc/webhook.h index cbc3a77..6e1a44b 100644 --- a/src/rpc/webhook.h +++ b/src/rpc/webhook.h @@ -43,7 +43,7 @@ namespace lws { namespace rpc return; } - if (info->m_response_code != 200) + if (info->m_response_code != 200 && info->m_response_code != 201) { MERROR("Failed to invoke http request to " << url << ", wrong response code: " << info->m_response_code); return;