I am a complete novice to API and cURL. Anyway, I was told in another topic that I could use Chrome Dev. Tools to find the commands sent to the API and then copy them as cURL commands.
I wanted to use these commands from the windows command prompt to turn off (or on) the RSS feed for an Indexer.
I opened the settings for an Indexer by clicking on the “RSS” image, turned off the RSS feed and clicked “Save”. These are the commands that were recorded:
The first two (data.image/png:base…) are not relevant as they were recorded when I clicked on the “RSS” image. I assume that one or all of the next three commands, that were generated when I clicked on “Save”, are needed to turn of the the RSS feed.
Which command(s) are relevant?
I copied all three as cURL commands and tried to execute them from the command prompt, but they all generated errors.
Here is the error from the first cURL command “13”:
curl: option -: is unknown
curl: try ‘curl --help’ or ‘curl --manual’ for more information
Is this approach flawed? Any help to a novice in this area would be much appreciated!
Should I post all 3 cURL commands here with the errors?