Quantcast
Viewing all articles
Browse latest Browse all 294796

Change structure of REST config

bshaffer hit a DX issue when testing REST. He tested it without custom config, and JSON worked. Then he added hal_json: TRUE and the JSON stopped working. This is by design, but it does seem like a DX issue.

He suggested changing the format from:

GET:
  hal_json: 'TRUE'

to
GET:
  supported_formats:
    - hal_json

Viewing all articles
Browse latest Browse all 294796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>