PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WEBDEV 2024
→
Déploiement / Consommation Webservice REST
Déploiement / Consommation Webservice REST
Started by Michel GARCIA, Jul., 29 2021 9:20 PM - 1 reply
Connect yourself…
Michel GARCIA
#1
Registered member
391 messages
Popularité : +12 (12 votes)
Posted on July, 29 2021 - 9:20 PM
Bonjour à tous,
J'ai installé un Webservice REST sur IIS 8, W2K12 R2 en mode FTP. IIS demande une authentification pour le déploiement, et cela fonctionne.
Lors du déploiement, j'obtiens les deux lignes :
http://monserveur.com/API…
et
http://monserveur.com/API…
.
Je dois fournir le compte FTP d'accès serveur (IUSR_Guest) et le mot de passe, puis je reçois la page contactée.
Par contre, depuis mon soft, lorsque je souhaite consommer l'API, une erreur 401 se produit avec "realm" "monserveur.com"
Comment faire pour autoriser les connexions normales depuis Chrome / Edge / IExplorer / mon soft ? On doit pouvoir autoriser l'accès au Webservice sans avoir besoin de fournir un utilisateur W2K12 R2.
J'ai tenté de modifier les droits dans FTP Authentication, en mettant Anonymous Authentication, mais cela ne donne rien, que ce soit à la racine, ou au niveau du répertoire.
Les DNS pointent au bon endroit.
Toute idée, solution, conseil est le bienvenue.
Merci à tous. Michel
--
If it works, don't touch it, don't look at it, AND don't fix it ! No patches, no SP ! JUST DONT FIX IT.
Report
0
0
Michel GARCIA
#2
Registered member
391 messages
Popularité : +12 (12 votes)
Posted on July, 29 2021 - 9:26 PM
Pour plus de précisions l'erreur est :
401 Unauthorized
WWW-Authenticate Basic realm = "monserveur.com"
Voilà, merci
--
If it works, don't touch it, don't look at it, AND don't fix it ! No patches, no SP ! JUST DONT FIX IT.
Report
0
0
→ Go back to WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
WEBDEV (earlier versions)
WINDEV Mobile (earlier versions)
Reports & Queries
Off-topic
Tools
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text