Skip to content

Instantly share code, notes, and snippets.

@aimtiaz11
Created October 12, 2022 06:37
Show Gist options
  • Save aimtiaz11/af9c23920741412b73b1f956e1844ccf to your computer and use it in GitHub Desktop.
Save aimtiaz11/af9c23920741412b73b1f956e1844ccf to your computer and use it in GitHub Desktop.
Munit Set Event (Payload and Query Params)
<munit:execution>
<munit:set-event doc:name="Set Event - Payload and Query Params">
<munit:payload value="#[MunitTools::getResourceAsString('some-api/api-request.json')]" mediaType="application/json" />
<munit:attributes value='#[
{
"queryParams": {
"doc_type": "abcd"
},
"uriParams": {
"policyId": "123"
}
}]' />
</munit:set-event>
</munit:execution>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment