HTTP Provider not working using json

Unable to create a traefik HTTP provider using json, yaml on the other hand works just fine.
Is json supported with HTTP Provider, or it's just an error in the documentation

Hello,

JSON is supported by the HTTP provider.

YAML is a kind of super-set of JSON.
https://yaml.org/spec/1.2.2/#12-yaml-history

YAML and JSON are supported.

Maybe you have a problem with your JSON structure.

After looking at the json thats being generated by my app, I have now realised that the routers and services that are supposed to be arrays are being returned as objects.

Thanks, I'll try to modify my code and revert

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.