Which Rails API endpoint format is recommended for building a JSON API consumed by a React frontend?
-
A
XML with SOAP envelope
-
B
JSON:API specification with ActiveModel::Serializer or jsonapi-serializer
-
C
GraphQL only via apollo-server gem
-
D
CSV streaming via ActionController::Live