cURL
curl --request POST \
--url http://localhost:8081/admin-service/users/validation/docs \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('http://localhost:8081/admin-service/users/validation/docs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:8081/admin-service/users/validation/docs"
payload = {}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Post admin serviceusersvalidationdocs
Validate document for user
POST
/
admin-service
/
users
/
validation
/
docs
cURL
curl --request POST \
--url http://localhost:8081/admin-service/users/validation/docs \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('http://localhost:8081/admin-service/users/validation/docs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:8081/admin-service/users/validation/docs"
payload = {}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Body
application/json
The body is of type object.
Response
OK
⌘I