<-- Back

REST Get call with request body not allowed by Mendix REST consume

Issue

In the application project, a 3rd-party REST API is used, and it requires a request body with the GET call, but the Mendix REST consume feature does not allow it.

Environment

Studio Pro (all versions)

Cause

This is the standard behavior.

RESTful consumption tools (Mendix, Postman, various HTTP clients, etc.) do not allow sending a request body with GET requests, as it is not part of the HTTP standard.

Solution / Workaround

Since this is not possible by default, it can only be achievable by developing a custom solution using a Custom Java Action.

Mendix does not support such a solution.

Internal information related

  • C04285K1H5K/p1742226871384719

Additional information

GET request method - HTTP | MDN

Have more questions? Submit a request

0 Comments

Article is closed for comments.

To provide feedback, please open a ticket here. Don't forget to include the article's URL along with the feedback you would like to provide.