Posting non-string data to Parse.com using Webhook

Continuing the discussion from Webhooks with decimal data:

Thanks @mhdevx. That was really helpful. You saved me a day :smiley:

How did you convert string to decimal / int on Parse.com? :confused:

@pteja I solved that on the parse.com side using their cloud code API. Here you have the option to modify data before or after it is saved.

See here: https://www.parse.com/docs/cloudcode/guide#cloud-code-modifying-objects-on-save

It is not really nice. You can not modify the data type for a variable (at least it didn’t work for me), so I copy them into new fields parsing strings to int or float and remove the original string value.

1 Like