Custom Fields PostData Example

Could someone post an example of what the post data should look like when trying to pass multiple custom fields to the pkey/generate web-api service? I tried to determine this from the CryptlexWebApi.cs file, but I am getting PHP errors when I try to replicate the expected format.

HI,

Can you share you code snippet wherein you are making the call to generate the product key

It’s actually in what I’ll term a limited .NET language. So I can’t create a variable for string[] and pass that as an object to the Dictionary options parameter. That’s why I’m looking for what the post data is actually supposed to look like rather than sharing the code. It wouldn’t make sense to most people.

Here is a sample post data string

version_id=11021&total_keys=1&email=john.doe%40example.com&cust_field_id[]=300&cust_field_id[]=301&cust_field_value[]=John&cust_field_value[]=Doe

Thanks, I’ve got this one resolved.