cancel
Showing results for 
Search instead for 
Did you mean: 

401 error in response of webscript

itrub
Champ in-the-making
Champ in-the-making
Dear colleagues
I try to create webscript, that open hte pop-up window "Edit Metadata". In order to create form my js-code at the response-ftl sends (as result) the following request:
GET http://localhost:8080/share/service/components/form?itemKind=node&itemId=workspace://SpacesStore/ec1...

But this request can not aithorize, I get 401 error. Adding of alf_ticket parameter did not help. Could you give any advice? Similar problems are already discussed on forum, but I did not find solution for me.
Sincerely, Iliya
1 REPLY 1

itrub
Champ in-the-making
Champ in-the-making
The reason was very curious: IE did not include cookies at the GET-request, because it did not create them! When I become to call share as http://localhost:8080/share (not http://127.0.0.1/share< as earlier) cookies-files appear and problem has been eliminated. I can not completely explain that. There is not that problem in Firefox: localhost or 127.0.0.1 are all the same, cookies are included at GET-request.