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'
blem 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
> Betreff: [eX-Bulk]: Error while
Sent from my iPhone
Begin forwarded message:
> From: Zahi Fail
> Date: 25 April 2018 at 12:19:20 GMT+3
> To: Ognjen Blagojevic
> Subject: Re: Tomcat question
>
> I configured in my conf\server.xml file the realm as below:
>
>
> resourceName="UserDa
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, "code":
e 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
>>> wrote:
>>>
>> Zahi,
>>
>>>>> On 4/23/18 9:38 AM, Zahi
HA256
>
> 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 post method without the ba
/*
simple web resource
/rest/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 wrote:
>
>
> On 23.04.2018 14:49, Zahi Fail wrote:
>
>> This is the followin
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 auth