Skip to content

Commit

Permalink
Merge branch 'master' into NPA-2676-receive-questionnaire
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-young-12-nhs authored May 16, 2024
2 parents 85cb7ba + 37c6abc commit 73ad04c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AssignMessage async="false" continueOnError="false" enabled="true" name="SetRequestAWSMimeType">
<DisplayName>Set Request AWS Mime Type</DisplayName>
<Set>
<Headers>
<Header name="Content-Type">application/json</Header>
</Headers>
</Set>
<IgnoreUnresolvedVariables>true</IgnoreUnresolvedVariables>
<AssignTo createNew="false" transport="http" type="response"/>
</AssignMessage>
4 changes: 4 additions & 0 deletions proxies/live/apiproxy/targets/target.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
<Step>
<Name>AddUserNHSNumber</Name>
</Step>
<Step>
<Name>SetRequestAWSMimeType</Name>
<Condition>request.header.Content-Type = "application/fhir+json"</Condition>
</Step>
</Request>
</PreFlow>
<PostFlow>
Expand Down

0 comments on commit 73ad04c

Please sign in to comment.