SUMMARY:
This document shows one known issue that "405 Method Not Allowed" error message appears when attempting to capture response from REST JSON data source with POST method in Strategy XQuery Editor and Generator (XEG) 10.x. The workaround would be to generate XQuery with GET method in XEG and manually change the request method to POST in Strategy XQuery report.
SYMPTOM:
"405 Method Not Allowed" error message appears when attempting to capture response from REST JSON data source with POST method in Strategy XEG 10.x as shown below:

mstr-rest:post() failed. 405 Method Not Allowed. A request was made of a resource using a request method not supported by that resource; for example, using GET on a form which requires data to be presented via POST. Error type: XQuery Engine error. HTTP Error. Connection String: .

If the GET method is not supported by the REST JSON data source, the error would show up.
ACTION:
Strategy will continue to investigate and post updates as soon as they are available.
WORKAROUND:
Use GET method in XEG to generate XQuery and manually modify the result XQuery to POST method in Strategy XQuery report.