This is the curl message from postman:
curl -X POST \
http://localhost:8080/userManagement/rest/Traffic/users2 \
-H 'Authorization: Basic dG9tY2F0OnMzY3JldA==' \
-H 'Cache-Control: no-cache' \
-H 'Content-Type: application/json' \
-H 'Postman-Token: 71819f33-6206-02c5-5cf2-8de6347fc154'
t;
> seems u have a problem with CORS
>
> https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
>
> cheers
>
> -Ursprüngliche Nachricht-
> Von: Zahi Fail [mailto:zahi.f...@gmail.com]
> Gesendet: Mittwoch, 25. April 2018 12:53
> An: Tomcat Users List <users@t
Sent from my iPhone
Begin forwarded message:
> From: Zahi Fail <zahi.f...@gmail.com>
> Date: 25 April 2018 at 12:19:20 GMT+3
> To: Ognjen Blagojevic <ognjen.d.blagoje...@gmail.com>
> Subject: Re: Tomcat question
>
> I configured in my conf\serv
Hello,
I'm working with Tomcat 9.0.6 version as my servlet,
I have tested my web service with postman and it seems to work fine.
While i tried to send simple ajax that i have build and tested in chrome, i
got an error.
*the request is :*
function setAllTlcsStatus() {
var tlc = [{"id":1,
oblem cause I can
>> enter to the tomcat manager page
>
> Well, if it shouldn't be a problem then why are you having a problem?
>
> - -chris
>
>>> On 23 Apr 2018, at 16:45, Christopher Schultz
>>> <ch...@christopherschultz.net> wrote:
>>>
>
PGP SIGNED MESSAGE-
> Hash: SHA256
>
> Zahi,
>
>> On 4/23/18 9:38 AM, Zahi Fail wrote:
>> I'm working with Tomcat 9.0.6 version as my servlet, Throughout my
>> jax-rs project i have tried to create basic authentication.
>>
>> While i'm trying to access a p
t/Traffic/*
POST
manager
NONE
BASIC
*and in the tomcat-user.xml i have updated the code as below: *
On Mon, Apr 23, 2018 at 4:34 PM, Olaf Kock <tom...@olafkock.de> wrote:
>
>
> On 23.04.2018 14:49, Zahi Fail wrote:
>
>> This is the fol
Hello,
I'm working with Tomcat 9.0.6 version as my servlet,
Throughout my jax-rs project i have tried to create basic authentication.
While i'm trying to access a post method without the basic auth. it all
working well (I got the 200 message from the HTTP server). But, after
adding the basic