cURL
curl --request PUT \
--url http://localhost:8081/admin-service/institutions/{id} \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'PUT',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('http://localhost:8081/admin-service/institutions/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:8081/admin-service/institutions/{id}"
payload = {}
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text)Put admin serviceinstitutions
Update institution by id
PUT
/
admin-service
/
institutions
/
{id}
cURL
curl --request PUT \
--url http://localhost:8081/admin-service/institutions/{id} \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'PUT',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('http://localhost:8081/admin-service/institutions/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:8081/admin-service/institutions/{id}"
payload = {}
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text)⌘I