/v2/meetings returns HTTP 405

#!/usr/bin/env python3

import json
import jwt
import requests
from time import time

API_KEY = ‘’
API_SEC = ‘’

headers = {‘Authorization’: ‘Bearer %s’ % API_JWT, ‘Content-type’: ‘application/json’}

r = requests.post(‘https://api.zoom.us/v2/meetings/81279038580’, headers=headers, data=json.dumps(details))
print(r.status_code)

returns HTTP Status 405 (Method Not Allowed)

why?

Hi @User53,

Are you making a GET request? If so, you should not be using the POST method in your code.

Thanks,
Will

Thanks, that was the right solution

1 Like

Hey @User53,

Awesome! I’m glad to hear that Will was able to help. I’ll go ahead and close this topic now but feel free to open a new topic if you encounter any further issues or questions.

Thanks,
Max