You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have working on create a client for https://developers.line.biz/en/reference/social-api/#issue-access-token. I found that the api receive a request as a form url encoded and response it as a json format. Tesla provide encode/decode only for json data format but form uri doesn't. The proposals provide 2 new middleware to do exactly the same Middleware.EncodeJson and Middleware.DecodeJson does but for Middleware.FormUrlencoded.
The text was updated successfully, but these errors were encountered:
The decoding part is guarded by content type, but I agree it makes sense to have separate EncodeFormUrlencoded and DecodeFormUrlencoded middlewares. I'd be happy to accept a MR.
I have working on create a client for https://developers.line.biz/en/reference/social-api/#issue-access-token. I found that the api receive a request as a form url encoded and response it as a json format. Tesla provide encode/decode only for json data format but form uri doesn't. The proposals provide 2 new middleware to do exactly the same Middleware.EncodeJson and Middleware.DecodeJson does but for Middleware.FormUrlencoded.
The text was updated successfully, but these errors were encountered: