Forum Discussion

AngelaIp's avatar
AngelaIp
Ideator I
6 years ago
Solved

REST API curl from cmd line - what could be wrong in this POST request?

Hi Community, I try to do a couple of REST API calls via Windows Batch jobs. I successfully can call for a token and read data. But I somehow fail to build a simple POST action to add any kind of i...
  • AngelaIp's avatar
    6 years ago

    Fixed it -> don´t use single quotes ('). When you need them, escape them:

    --data "{\"login_name\":\"test6\"}"