Changeset 11044a5 in firmaeventos for eventos/views.py
- Timestamp:
- Nov 24, 2017, 1:56:56 PM (7 years ago)
- Branches:
- master
- Children:
- 6228b65
- Parents:
- 43507f7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
eventos/views.py
rd285c11 r11044a5 64 64 files = {'file': file} 65 65 try: 66 #r = requests.post('https://murachi.cenditel.gob.ve/Murachi/0.1/archivos/cargar', verify=False, headers={'Authorization': 'Basic YWRtaW46YWRtaW4='}, files=files) 67 r = requests.post('https://192.168.12.154:8443/Murachi/0.1/archivos/cargar', verify=False, headers={'Authorization': 'Basic YWRtaW46YWRtaW4='}, files=files) 66 r = requests.post('https://murachi.cenditel.gob.ve/Murachi/0.1/archivos/cargar', verify=False, headers={'Authorization': 'Basic YWRtaW46YWRtaW4='}, files=files) 68 67 nuevo_participante = self.form_participante(request.POST) 69 68 consulta_api = r.json()['fileId']
Note: See TracChangeset
for help on using the changeset viewer.