Request Reverse Post Office API

Asked

Viewed 191 times

0

I am trying to use the Post API to perform the reverse posting method. I am using the following link to access this method:

http://webservicescol.correios.com.br/ScolWeb/WebServiceScol?wsdl

Whenever I try to access this method by script I have this error:

requests.exceptions.HTTPError: 503 Server Error: Service Temporarily Unavailable for url: http://webservicescol.correios.com.br/ScolWeb/WebServiceScol?wsdl

Apparently this link that I am trying to perform the request is in trouble. I have already tested other methods that worked in this other link:

https://apps.correios.com.br/SigepMasterJPA/AtendeClienteService/AtendeCliente?wsdl

Do you know if there would be any other method equivalent to requesting reverse posting or another link for me to access this method?

1 answer

1


Try a look at the wrapper of the Olist-maintained Post API - it’s a pretty cool design that uses a lot of mail stuff. If you don’t want to use the whole project, you can explore the code and see how reverse posting requests are made -

https://github.com/olist/correios

Browser other questions tagged

You are not signed in. Login or sign up in order to post.