Al - Hi, I'm trying to call this API via C# cod...
Hi, I'm trying to call this API via C# code. I tested it in Postman, and it only accepts x-www-form-urlencoded, throwing an error when I use JSON. My issue is that I need to pass an array of strings, and despite serializing the ids part as a string[], I’m still getting a 500 error from the server.
Additionally, I found that the API only works with callosum/v1 included in the URL, which makes the documentation a bit unclear.
Do you have an example of how to handle this in C#?
Additionally, I found that the API only works with callosum/v1 included in the URL, which makes the documentation a bit unclear.
Do you have an example of how to handle this in C#?

Solution
The userId that you gave is supposed to be userid, can you check once using that? Also I gave this curl to chatgpt
to code for C# this is what is produced :
to code for C# this is what is produced :