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 migrated my http communication from Refit to this library (WebAPiClientCore) in ny .NET MAUI (.NET 9) mobile app for android.
In Refit we were setting up the UrlParameterFormatter to our custom formatter in which we have converted the object types to string.
Now I can't find such option here in this library.
Also, I have some GET url which contains comma (,) or semi comma (;) but this library is encoding those and because of this, our the API we are calling is throwing 400 bad request.
How to tackle this problem?
The text was updated successfully, but these errors were encountered:
By default, the parameter attribute used is PathQueryAttribute, so you can create a CustomQueryAttribute that inherits from PathQueryAttribute and override the SerializeToKeyValues method, and then use CustomQueryAttribute to decorate your parameters.
I have migrated my http communication from Refit to this library (WebAPiClientCore) in ny .NET MAUI (.NET 9) mobile app for android.
In Refit we were setting up the UrlParameterFormatter to our custom formatter in which we have converted the object types to string.
Now I can't find such option here in this library.
Also, I have some GET url which contains comma (,) or semi comma (;) but this library is encoding those and because of this, our the API we are calling is throwing 400 bad request.
How to tackle this problem?
The text was updated successfully, but these errors were encountered: