Help passing fields param in /json endpoint #276
Replies: 1 comment 2 replies
-
|
I dont know if i fully understand what your trying to do. But if you want to send me a pr with tests that you think it should pass ill make sure that gofakeitserver is able to do pass those tests. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am struggling to get the correct format to create a custom json format from the /json endpoint in gofakeitserver
I've tried many variations but in the end I'm guessing and failing at how I should pack multiple fields in the "fields" GET parameter... e.g. one attempt of many:
http://localhost:8080/json?fields=[{"Name": "first_name", "Function":"firstname"}]
I would be grateful for a small working example!
Beta Was this translation helpful? Give feedback.
All reactions