Skip to Content

REST receiver method GET, HTTP header issue. HTML 412.

Nov 20, 2017 at 01:44 PM


avatar image

Dear all, I would like some advices about a problem with an interface. I am using method GET from external API, and I get error HTTP 412, is about HTTP headers. Bellow there are images of my configuration. Could anyone give me some tips about what's wrong?

Testing the service on RESTLET, it works.

On PI the communication channel .

Erro after testing.

restlet.png (27.7 kB)
cc1.png (12.6 kB)
cc2.png (10.3 kB)
cc3.png (20.1 kB)
cc4.png (8.4 kB)
cc5.png (21.2 kB)
erro1.png (9.4 kB)
erro2.png (25.4 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Josieudes De Sousa Claudio Nov 21, 2017 at 02:47 PM

The HTTP 412 Error is about Precondition that can be related to HTTP Header fields.

I suggest use "Basic Authorization" on General Tab instead the "Authorization" header field.

Delete and recreate the other one (X-AGILE-CLIENT) verifying the service documentation and the verify the spelling.

Best regards,

Josieudes Claudio

10 |10000 characters needed characters left characters exceeded