posto :createfor example, but I need something like
post 'api/v1/controller', any way to achieve something like this? Thanks.
NoMethodError: undefined method 'headers' for nil:NilClasson
@request.headers["Content-Type"] = "application/json"in a
beforeblock, it worked in version 2.1, I will appreciate if you guys have an idea, thanks.