Guest User

Untitled

a guest
Jul 30th, 2023
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. using Refit;
  2. using webapi.Integration.Response;
  3.  
  4. namespace webapi.Integration.Refit
  5. {
  6. public interface IViaCepIntegrationRefit
  7. {
  8. //viacep.com
  9. //{cep} é parametro cep , no caso na url
  10. [Get("/ws/{cep}/json")]
  11. Task<ApiResponse<ViaCepResponse>> ObterDadosViaCep(string cep);
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment