After executing your request, you need to read the response of your HTTP request. Even when your request is not a query (for example, updating an employee details), you need to still at least check if your request is successful or not.
You can check your request status through the sub-properties of the Response property (of the XPRIM_HttpRequest object).