Closed CooperGerman closed 4 months ago
Yes the value there needs to be json encoded, so in a python environment you would do something like:
body={"name" : field_name, "field_type" : "text", "default_value" : json.dumps("N.A.")}
Thank you very much, I thought so indeed.
Hi, Firstly thx again for the great work on this project it really helps out a lot for me ! I wanted to make sure that the way strings are treated when used in extra fields is correct.
I found out i had to escape them in order for the api to acept them :
When added this way i see it like this in the broswer:
and it does not appear in the spoolman webbrowser interface which hints me to think it might be a desired behavior.
This is not a real problem since i can run with it but it might not be intended.
Thank you in advance for you answer