Dauren S2017-01-05 08:54:05
Dauren S, 2017-01-05 08:54:05

403 error when parsing in android?

There is api on django rest. Through the browser everything is fine. In an android application, when trying to parse, it gives an error 403. Although in another application created earlier, this link is parsed and everything is displayed. Why?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Dauren S, 2017-01-05

In general, the error was not in the server and not in the url. I rewrote the HttpConnect method itself

Alexander, 2017-01-05

It is necessary to look at what headers are transmitted to the server, it looks like something is missing. There may be an error in the URL itself.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question