I'm writing a protocol using HTTP Sessions, if I send the session with the url hard coded it works fine, but with it linked to a pid it doesn't; the header that I'm also sending that's liked to a pid doesn't get sent.
This works
<Request verb="PATCH" url="/v1/ingests/">-
<Headers>
<Header key="api_key" pid="3" />
</Headers>
<Data pid="16" />
But this doesn't
<Request verb="PATCH" pid="15">
<Headers>
<Header key="api_key" pid="3" />
</Headers>
<Data pid="16" />
I get an api key missing back.
PID 15 is: -
<Param id="15" trending="false">
<Name>UrlStartStopEvent</Name>
<Description>UrlStartStopEvent</Description>
<Type>read</Type>
<Interprete>
<RawType>other</RawType>
<LengthType>next param</LengthType>
<Type>string</Type>
</Interprete>
<Display>
<RTDisplay onAppLevel="true">true</RTDisplay>
<Positions>
<Position>
<Page>General</Page>
<Column>1</Column>
<Row>0</Row>
</Position>
</Positions>
</Display>
</Param>
Hi Jeeva,
I’ve updated the question, as adding it to a comment strips out the tags
Hi Philip,
I tested a similar code to yours and it appears to be working
Could you confirm what DataMiner version you are using and if you can see in a tool like Wireshark what request is being sent from the DataMiner?
Lastly, could you try to point towards a site like httpbin.org and see if you can get something like /get to work on your system?
We’ve just upgraded to 10.2.7
I’ll have a look at the rest, though will probably have to proxy it through postman, as it’s https.
Got it, url required the preceding forwards slash, as where pid doesn’t.
Hi Philip, can you also please include the XML for the PID 15?