Hi Tobias,
This is explained in the documentation: https://docs.mendix.com/howto/integration/consume-a-rest-service
Grt. Arjan