RESTAPI: SourcedFixletAction giving unexpected return

Hello everyone
We’re on 9.2.6, and I’m experiencing a weird behaviour using the RESTAPI to issue a SourcedFixletAction. (2nd example in POST Action)

POSTing this XML:

<?xml version="1.0" encoding="UTF-8"?>
<BES xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="BES.xsd">
      <SourcedFixletAction>
        <SourceFixlet>
            <Sitename>ActionSite</Sitename>
            <FixletID>1481849</FixletID>
            <Action>Action1</Action>
        </SourceFixlet>
        <Target>
            <ComputerID>12772261</ComputerID>
        </Target>
      </SourcedFixletAction>
</BES>

to
/api/actions

returns a list of all the fixlets of the ActionSite!
Now, that’s what I’d expect if I were GETting the same URL, but even if I intentionally screw up the XML body of the POST, it seems to be just ignored (not even an error for leaving uncomplete tags).
I’ve verified the fixlet exists in the specified (master) site, and I can execute it as usual from the console.

Issuing a custom action with the same ActionScript (first example in the above link) works perfectly, so I’m pretty confident all the auth, posting and syntax are correct.

I’m really puzzled… Any hint?
Thanks everyone for your attention :slight_smile:

Many thanks!

To anyone incurring in the same issue… the problem was that I was POSTing via http instead of httpS
Strangely enough (for me) it was behaving like a GET…

1 Like